Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/bind/bin/dig fix dig -x ip6addr. PR 18193.



details:   https://anonhg.NetBSD.org/src/rev/b789e0d04e49
branches:  trunk
changeset: 536069:b789e0d04e49
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Sep 06 04:50:02 2002 +0000

description:
fix dig -x ip6addr.  PR 18193.

diffstat:

 dist/bind/bin/dig/dig.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ebf4fce2b63e -r b789e0d04e49 dist/bind/bin/dig/dig.c
--- a/dist/bind/bin/dig/dig.c   Fri Sep 06 03:12:04 2002 +0000
+++ b/dist/bind/bin/dig/dig.c   Fri Sep 06 04:50:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dig.c,v 1.5 2002/06/20 11:42:54 itojun Exp $   */
+/*     $NetBSD: dig.c,v 1.6 2002/09/06 04:50:02 itojun Exp $   */
 
 #ifndef lint
 static const char rcsid[] = "Id: dig.c,v 8.57 2002/06/18 02:26:49 marka Exp";
@@ -1801,7 +1801,7 @@
                in6->s6_addr[6] & 0x0f, (in6->s6_addr[6] >> 4) & 0x0f,
                in6->s6_addr[5] & 0x0f, (in6->s6_addr[5] >> 4) & 0x0f,
                in6->s6_addr[4] & 0x0f, (in6->s6_addr[4] >> 4) & 0x0f,
-               in6->s6_addr[6] & 0x0f, (in6->s6_addr[3] >> 4) & 0x0f,
+               in6->s6_addr[3] & 0x0f, (in6->s6_addr[3] >> 4) & 0x0f,
                in6->s6_addr[2] & 0x0f, (in6->s6_addr[2] >> 4) & 0x0f,
                in6->s6_addr[1] & 0x0f, (in6->s6_addr[1] >> 4) & 0x0f,
                in6->s6_addr[0] & 0x0f, (in6->s6_addr[0] >> 4) & 0x0f);



Home | Main Index | Thread Index | Old Index