From 48bf87ba83396aae2251646aed9a9cac183e5780 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 29 Apr 2016 12:41:02 +1000 Subject: [PATCH] 4351. [bug] 'dig +noignore' didn't work. [RT #42273] --- CHANGES | 2 ++ bin/dig/dig.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 28d67b788b..62ab930424 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 f43339187d..c5d752393e 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':