From: Mark Andrews Date: Tue, 8 Sep 2009 23:28:40 +0000 (+0000) Subject: 2672. [bug] Don't enable searching in 'host' when doing reverse X-Git-Tag: v9.5.2rc1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1379b42f8b2db0309901666570098f349449f5d;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 fa03d53f9d8..fdefeee50ba 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2672. [bug] Don't enable searching in 'host' when doing reverse + lookups. [RT #20218] + 2670. [bug] Unexpected connect failures failed to log enough information to be useful. [RT #20205] diff --git a/bin/dig/host.c b/bin/dig/host.c index 53672ef3206..54655e906a3 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: host.c,v 1.116.12.2 2009/05/06 23:46:49 tbox Exp $ */ +/* $Id: host.c,v 1.116.12.3 2009/09/08 23:28:40 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