From: Mark Andrews Date: Tue, 20 Oct 2009 01:16:46 +0000 (+0000) Subject: 2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414] X-Git-Tag: v9.5.2-P1~1^5~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2f226ac167ac20cbd06092dbeb07e43863ca67;p=thirdparty%2Fbind9.git 2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414] --- diff --git a/CHANGES b/CHANGES index 520ff6357f6..ddd40fab78a 100644 --- 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] diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index bba97d69341..d88094bc3e4 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -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 @@ -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); } }