From: Mark Andrews Date: Fri, 29 Apr 2016 02:41:02 +0000 (+1000) Subject: 4351. [bug] 'dig +noignore' didn't work. [RT #42273] X-Git-Tag: v9.11.0a2~71 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=48bf87ba83396aae2251646aed9a9cac183e5780;p=thirdparty%2Fbind9.git 4351. [bug] 'dig +noignore' didn't work. [RT #42273] --- diff --git a/CHANGES b/CHANGES index 28d67b788b6..62ab930424b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +4351. [bug] 'dig +noignore' didn't work. [RT #42273] + 4350. [contrib] Declare result in dlz_filesystem_dynamic.c. 4349. [contrib] kasp2policy: A python script to create a DNSSEC diff --git a/bin/dig/dig.c b/bin/dig/dig.c index f43339187d7..c5d752393e5 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -1057,9 +1057,11 @@ plus_option(const char *option, isc_boolean_t is_batchfile, lookup->identify = state; break; case 'g': /* ignore */ - default: /* Inherits default for compatibility */ + default: /* + * Inherits default for compatibility (+[no]i*). + */ FULLCHECK("ignore"); - lookup->ignore = ISC_TRUE; + lookup->ignore = state; } break; case 'k':