]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1791. [bug] 'host -t a' still printed out AAAA and MX records.
authorMark Andrews <marka@isc.org>
Mon, 14 Mar 2005 23:36:04 +0000 (23:36 +0000)
committerMark Andrews <marka@isc.org>
Mon, 14 Mar 2005 23:36:04 +0000 (23:36 +0000)
                        [RT #13230]

CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index d19816ad0acd0b06cc0e24bb2a678ea4b80e7cb1..6ce3f82308da2768f3d58cb9806e46fce9ca47ff 100644 (file)
--- 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.
index 18134020f28ba6af7f9d55b192dff0e721717900..1f2bea653195007f6f8a482ffbf6c2a21eb669a1 100644 (file)
@@ -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 <config.h>
 #include <limits.h>
@@ -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;