]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fix dig +trace output
authorEvan Hunt <each@isc.org>
Thu, 29 Nov 2012 03:05:50 +0000 (19:05 -0800)
committerEvan Hunt <each@isc.org>
Thu, 29 Nov 2012 03:05:50 +0000 (19:05 -0800)
3427. [bug] dig +trace incorrectly displayed name server
addresses instead of names. [RT #31641]

CHANGES
bin/dig/dig.c

diff --git a/CHANGES b/CHANGES
index a580affe8165400f7232a67e2c74530bbfb8a161..0544cca4b93bfd49cb7fae6e2dcecc43bfc27cbf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3427.  [bug]           dig +trace incorrectly displayed name server 
+                       addresses instead of names. [RT #31641]
+
 3426.  [bug]           dnssec-checkds: Clearer output when records are not
                        found. [RT #31968]
 
index fea96deb46c24d319c5c1ca2356d884f054619af..74263c9b0dd6b2e1924a23e9d2e252d7b898943b 100644 (file)
@@ -280,7 +280,7 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
                       "from %s(%s) in %d ms\n\n",
                       query->lookup->doing_xfr ?
                                query->byte_count : (isc_uint64_t)bytes,
-                      fromtext, query->servname,
+                      fromtext, query->userarg,
                       (int)diff/1000);
        }
 }