aboutsummaryrefslogtreecommitdiff
path: root/src/libndb
diff options
context:
space:
mode:
Diffstat (limited to 'src/libndb')
-rw-r--r--src/libndb/sysdnsquery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libndb/sysdnsquery.c b/src/libndb/sysdnsquery.c
index 7f8495f3..d50a8312 100644
--- a/src/libndb/sysdnsquery.c
+++ b/src/libndb/sysdnsquery.c
@@ -246,7 +246,7 @@ skipquestion(uchar *buf, uchar *ebuf, uchar *p, int n)
for(i=0; i<n; i++){
if((len = dn_expand(buf, ebuf, p, tmp, sizeof tmp)) <= 0)
return nil;
- p += NS_QFIXEDSZ+len;
+ p += 4+len;
}
return p;
}