]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
685. [bug] nslookup should use the search list/domain options
authorAndreas Gustafsson <source@isc.org>
Wed, 17 Jan 2001 19:37:37 +0000 (19:37 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 17 Jan 2001 19:37:37 +0000 (19:37 +0000)
                        from resolv.conf by default. [RT #405, #630]

CHANGES
bin/dig/nslookup.c

diff --git a/CHANGES b/CHANGES
index cc779cf84384f86337837f49831bd211a148aa24..36887f08ac2354d40cec3b02de487665869a436c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,9 @@
  687.  [bug]           Only say we have IPv6, with sufficent functionality,
                        if it has actually been tested.  [RT #586]
 
+ 685.  [bug]           nslookup should use the search list/domain options
+                       from resolv.conf by default. [RT #405, #630]
+
  684.  [bug]           Memory leak with view forwarders. [RT #656]
 
  683.  [bug]           File descriptor leak in isc_lex_openfile().
index ac1445a16178376a99a88c1e853545a491a4179a..6d977b520ac64416b455ee060b300f582669f092 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.69.2.2 2001/01/16 18:20:11 gson Exp $ */
+/* $Id: nslookup.c,v 1.69.2.3 2001/01/17 19:37:37 gson Exp $ */
 
 #include <config.h>
 
@@ -856,6 +856,7 @@ static void
 parse_args(int argc, char **argv) {
        isc_boolean_t have_lookup = ISC_FALSE;
 
+       usesearch = ISC_TRUE;
        for (argc--, argv++; argc > 0; argc--, argv++) {
                debug("main parsing %s", argv[0]);
                if (argv[0][0] == '-') {