]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414]
authorMark Andrews <marka@isc.org>
Tue, 20 Oct 2009 01:11:22 +0000 (01:11 +0000)
committerMark Andrews <marka@isc.org>
Tue, 20 Oct 2009 01:11:22 +0000 (01:11 +0000)
CHANGES
bin/dig/nslookup.c

diff --git a/CHANGES b/CHANGES
index 4a59da7e8c747c4f7cc976235d77c5ece57ce4df..a76ade76b727fd542b0648aa7141c6d1654c626c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+2716.  [bug]           nslookup debug mode didn't return the ttl. [RT #20414]
+
 2715.  [bug]           Require OpenSSL support to be explicitly disabled.
                        [RT #20288]
 
index 56796268d90f4039dc4b409f86a6f3a239322134..000f54e9b637c07eb871f33971b73ae4f225e505 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.117.334.4 2009/05/06 11:41:57 fdupont Exp $ */
+/* $Id: nslookup.c,v 1.117.334.5 2009/10/20 01:11:22 marka Exp $ */
 
 #include <config.h>
 
@@ -373,6 +373,7 @@ detailsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
                                        printrdata(&rdata);
                                }
                                dns_rdata_reset(&rdata);
+                               printf("\tttl = %u\n", rdataset->ttl);
                                loopresult = dns_rdataset_next(rdataset);
                        }
                }