From: Mark Andrews Date: Tue, 8 Sep 2009 23:29:03 +0000 (+0000) Subject: 2672. [bug] Don't enable searching in 'host' when doing reverse X-Git-Tag: v9.4-ESVb1~28 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=76a4707aadfa1007a6af27dd43187723197462c2;p=thirdparty%2Fbind9.git 2672. [bug] Don't enable searching in 'host' when doing reverse lookups. [RT #20218] --- diff --git a/CHANGES b/CHANGES index 03062d97065..63793ab5395 100644 --- 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 diff --git a/bin/dig/host.c b/bin/dig/host.c index 0e942ce5d54..fbe36a4029d 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -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