]> 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:16:46 +0000 (01:16 +0000)
committerMark Andrews <marka@isc.org>
Tue, 20 Oct 2009 01:16:46 +0000 (01:16 +0000)
CHANGES
bin/dig/nslookup.c

diff --git a/CHANGES b/CHANGES
index 520ff6357f6db51e3973259df63f8b062b673209..ddd40fab78abb2052ba2d7d419bef5b98cfde174 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 bba97d6934100c5eea99f22062a4f5fc1745c4b2..d88094bc3e4f90894314655a27b7fe5d465f17ea 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.117.130.5 2009/05/06 23:46:49 tbox Exp $ */
+/* $Id: nslookup.c,v 1.117.130.6 2009/10/20 01:16:46 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);
                        }
                }