Fixed qname parsing issue

This commit is contained in:
Emil Hernvall
2018-03-19 11:37:16 +01:00
parent 39ccac90a7
commit b69253ebb6
6 changed files with 6 additions and 6 deletions

View File

@@ -431,7 +431,7 @@ impl BytePacketBuffer {
// If len has the two most significant bit are set, it represents a jump to
// some other offset in the packet:
if (len & 0xC0) > 0 {
if (len & 0xC0) == 0xC0 {
// Update the buffer position to a point past the current
// label. We don't need to touch it any further.
if !jumped {