aboutsummaryrefslogtreecommitdiffstats
path: root/net/bind8
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2003-05-11 11:56:57 +0800
committerdougb <dougb@FreeBSD.org>2003-05-11 11:56:57 +0800
commit6f71c01612ab52e464335e0ad33172d468d951c5 (patch)
tree8673b180feb8f98cdade22f277979e6503a6ea3a /net/bind8
parent2a18bb08c3f97479406e74c58d2cff63b66f1f05 (diff)
downloadfreebsd-ports-graphics-6f71c01612ab52e464335e0ad33172d468d951c5.tar.gz
freebsd-ports-graphics-6f71c01612ab52e464335e0ad33172d468d951c5.tar.zst
freebsd-ports-graphics-6f71c01612ab52e464335e0ad33172d468d951c5.zip
Fix a nibble calculation bug for IPv6 in nslookup.
This bug will be fixed in the next release of BIND.
Diffstat (limited to 'net/bind8')
-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 00000000000..34afa392601
--- /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,