]> 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:23:22 +0000 (23:23 +0000)
committerMark Andrews <marka@isc.org>
Tue, 8 Sep 2009 23:23:22 +0000 (23:23 +0000)
                        lookups. [RT #20218]

CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index 7af8522e433f1c19aa0954a330c4f19a76b0e46e..7bb9eb7f8fb67e0b09180cee901fbc2fad2333de 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2672.  [bug]           Don't enable searching in 'host' when doing reverse
+                       lookups. [RT #20218]
+
        --- 9.7.0a3 released ---
 
 2671.  [bug]           Add support for PKCS#11 providers not returning
index 8e414a483ca607b2ba61706046d0e8ac1d59be08..a278a3df81bc54c87adf9cd401e2dc848ccae516 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: host.c,v 1.118 2009/05/06 23:47:50 tbox Exp $ */
+/* $Id: host.c,v 1.119 2009/09/08 23:23:22 marka Exp $ */
 
 /*! \file */
 
@@ -839,11 +839,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