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

diff --git a/CHANGES b/CHANGES
index d65f71d97c48a7f57d8f0cc199d8fbb4e175f6eb..34fc3e47039d999ab66381f08f7fe6501703cf54 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+2716.  [bug]           nslookup debug mode didn't return the ttl. [RT #20414]
+
        --- 9.7.0b1 released ---
 
 2715.  [bug]           Require OpenSSL support to be explicitly disabled.
index 22614b415fecefce5ad59a4190e29c0875028d1e..004cf77ab2cb4362350c4a8cb998f7e3a26f58fd 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.123 2009/09/15 03:13:43 each Exp $ */
+/* $Id: nslookup.c,v 1.124 2009/10/20 01:04:03 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);
                        }
                }