From e34864bb310b1f2508014e20b201646fd64a37ed 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] (cherry picked from commit 48bf87ba83396aae2251646aed9a9cac183e5780) --- CHANGES | 2 ++ bin/dig/dig.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index d4826de76d..58988d631a 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. --- 9.10.4 released --- diff --git a/bin/dig/dig.c b/bin/dig/dig.c index 867c1d4ed3..49ca646928 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -1026,9 +1026,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':