aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2003-05-11 03:56:57 +0000
committerDoug Barton <dougb@FreeBSD.org>2003-05-11 03:56:57 +0000
commitef3c1ba029cecfc06aeb5293897a2ee13b2d3467 (patch)
tree1352822a7f279dacceb3b48597eafbe86e45510a /dns
parent12a2e551a0642eb79144b24d4b8e93cd0a04ec47 (diff)
downloadports-ef3c1ba029cecfc06aeb5293897a2ee13b2d3467.tar.gz
ports-ef3c1ba029cecfc06aeb5293897a2ee13b2d3467.zip
Fix a nibble calculation bug for IPv6 in nslookup.
This bug will be fixed in the next release of BIND.
Notes
Notes: svn path=/head/; revision=80645
Diffstat (limited to 'dns')
-rw-r--r--dns/bind8/files/patch-src_bin_nslookup_getinfo.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/dns/bind8/files/patch-src_bin_nslookup_getinfo.c b/dns/bind8/files/patch-src_bin_nslookup_getinfo.c
new file mode 100644
index 000000000000..34afa3926011
--- /dev/null
+++ b/dns/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,