diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vpn/gnunet-vpn-pretty-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpn/gnunet-vpn-pretty-print.c b/src/vpn/gnunet-vpn-pretty-print.c index 87c8322ef7..01427fe951 100644 --- a/src/vpn/gnunet-vpn-pretty-print.c +++ b/src/vpn/gnunet-vpn-pretty-print.c @@ -265,7 +265,7 @@ unsigned int parse_dns_name(unsigned char* d, const unsigned char* src, unsigned while (len != 0) { if (len & 0xC0) { /* Compressed name, offset in this and the next octet */ unsigned short offset = ((len & 0x3F) << 8) | src[idx++]; - parse_dns_name(dest, src, offset - 12); + parse_dns_name(dest, src, offset - 12); /* 12 for the Header of the DNS-Packet, idx starts at 0 which is 12 bytes from the start of the packet */ return idx; } memcpy(dest, src+idx, len); |