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

@ -87,7 +87,7 @@ impl BytePacketBuffer {
// set, represents a offset relative to the start of the buffer. We
// handle this by jumping to the offset, setting a flag to indicate
// that we shouldn't update the shared buffer position once done.
if (len & 0xC0) > 0 {
if (len & 0xC0) == 0xC0 {
// When a jump is performed, we only modify the shared buffer
// position once, and avoid making the change later on.