summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2003-05-11 03:56:57 +0000
committerdougb <dougb@FreeBSD.org>2003-05-11 03:56:57 +0000
commit6f71c01612ab52e464335e0ad33172d468d951c5 (patch)
tree8673b180feb8f98cdade22f277979e6503a6ea3a /net
parent2a18bb08c3f97479406e74c58d2cff63b66f1f05 (diff)
downloadFreeBSD-ports-6f71c01612ab52e464335e0ad33172d468d951c5.zip
FreeBSD-ports-6f71c01612ab52e464335e0ad33172d468d951c5.tar.gz
Fix a nibble calculation bug for IPv6 in nslookup.
This bug will be fixed in the next release of BIND.
Diffstat (limited to 'net')
-rw-r--r--net/bind8/files/patch-src_bin_nslookup_getinfo.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/bind8/files/patch-src_bin_nslookup_getinfo.c b/net/bind8/files/patch-src_bin_nslookup_getinfo.c
new file mode 100644
index 0000000..34afa39
--- /dev/null
+++ b/net/bind8/files/patch-src_bin_nslookup_getinfo.c
@@ -0,0 +1,20 @@
+--- src/bin/nslookup/getinfo.c.Dist Tue May 21 21:06:57 2002
++++ src/bin/nslookup/getinfo.c Sat May 10 14:27:57 2003
+@@ -944,7 +944,7 @@
+ p[9] & 0xf, (p[9] >> 4) & 0xf,
+ p[8] & 0xf, (p[8] >> 4) & 0xf,
+ p[7] & 0xf, (p[7] >> 4) & 0xf,
+- p[6] & 0xf, (p[4] >> 4) & 0xf,
++ p[6] & 0xf, (p[6] >> 4) & 0xf,
+ p[5] & 0xf, (p[5] >> 4) & 0xf,
+ p[4] & 0xf, (p[4] >> 4) & 0xf,
+ p[3] & 0xf, (p[3] >> 4) & 0xf,
+@@ -964,7 +964,7 @@
+ p[9] & 0xf, (p[9] >> 4) & 0xf,
+ p[8] & 0xf, (p[8] >> 4) & 0xf,
+ p[7] & 0xf, (p[7] >> 4) & 0xf,
+- p[6] & 0xf, (p[4] >> 4) & 0xf,
++ p[6] & 0xf, (p[6] >> 4) & 0xf,
+ p[5] & 0xf, (p[5] >> 4) & 0xf,
+ p[4] & 0xf, (p[4] >> 4) & 0xf,
+ p[3] & 0xf, (p[3] >> 4) & 0xf,
OpenPOWER on IntegriCloud