mirror of
https://github.com/EmilHernvall/dnsguide.git
synced 2025-07-13 17:28:10 +07:00
Fixed qname parsing issue
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user