]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4351. [bug] 'dig +noignore' didn't work. [RT #42273]
authorMark Andrews <marka@isc.org>
Fri, 29 Apr 2016 02:41:02 +0000 (12:41 +1000)
committerMark Andrews <marka@isc.org>
Fri, 29 Apr 2016 02:41:02 +0000 (12:41 +1000)
CHANGES
bin/dig/dig.c

diff --git a/CHANGES b/CHANGES
index 28d67b788b66362bf7511ba60e58b619781b1845..62ab930424b9f7a696fbec67a6a790380cfbcbf1 100644 (file)
--- 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
index f43339187d7a941f242dc44ec8ac48e47e02e247..c5d752393e59893467e3b8bf25cf934e37fa8789 100644 (file)
@@ -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':