From: Mark Andrews Date: Mon, 14 Mar 2005 23:36:04 +0000 (+0000) Subject: 1791. [bug] 'host -t a' still printed out AAAA and MX records. X-Git-Tag: v9.2.6b1~181^2~16 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=93f429295a682f44940c8f4e2b05773c50da4e7d;p=thirdparty%2Fbind9.git 1791. [bug] 'host -t a' still printed out AAAA and MX records. [RT #13230] --- diff --git a/CHANGES b/CHANGES index d19816ad0ac..6ce3f82308d 100644 --- a/CHANGES +++ b/CHANGES @@ -72,7 +72,8 @@ 1792. [func] New zone option "notify-delay". Specify a minimum delay between sets of NOTIFY messages. -1791. [placeholder] rt13230 +1791. [bug] 'host -t a' still printed out AAAA and MX records. + [RT #13230] 1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should allow parallel make to succeed. diff --git a/bin/dig/host.c b/bin/dig/host.c index 18134020f28..1f2bea65319 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: host.c,v 1.99 2004/11/10 22:04:25 marka Exp $ */ +/* $Id: host.c,v 1.100 2005/03/14 23:36:04 marka Exp $ */ #include #include @@ -580,6 +580,7 @@ pre_parse_args(int argc, char **argv) { } } isc_commandline_reset = ISC_TRUE; + isc_commandline_index = 1; } static void @@ -648,6 +649,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) { } else list_type = rdtype; list_addresses = ISC_FALSE; + default_lookups = ISC_FALSE; break; case 'c': tr.base = isc_commandline_argument;