]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2672. [bug] Don't enable searching in 'host' when doing reverse
authorMark Andrews <marka@isc.org>
Tue, 8 Sep 2009 23:29:03 +0000 (23:29 +0000)
committerMark Andrews <marka@isc.org>
Tue, 8 Sep 2009 23:29:03 +0000 (23:29 +0000)
                        lookups. [RT #20218]

CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index 03062d970654c99630fe62de459d2ea6bc7cfcd2..63793ab5395cc7b958b8933540e60641e41b54fe 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+2672.  [bug]           Don't enable searching in 'host' when doing reverse
+                       lookups. [RT #20218]
+
        --- 9.4-ESV-20090907 released ---
 
 2670.  [bug]           Unexpected connect failures failed to log enough
index 0e942ce5d54ef521775ee73253c9ae2ab09e4bfd..fbe36a4029d4ad377daa07583322a0981c983c0c 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: host.c,v 1.94.18.21 2009/05/06 23:45:59 tbox Exp $ */
+/* $Id: host.c,v 1.94.18.22 2009/09/08 23:29:03 marka Exp $ */
 
 /*! \file */
 
@@ -838,11 +838,10 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
        } else {
                strncpy(lookup->textname, hostname, sizeof(lookup->textname));
                lookup->textname[sizeof(lookup->textname)-1]=0;
+               usesearch = ISC_TRUE;
        }
        lookup->new_search = ISC_TRUE;
        ISC_LIST_APPEND(lookup_list, lookup, link);
-
-       usesearch = ISC_TRUE;
 }
 
 int