]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963]
authorMark Andrews <marka@isc.org>
Mon, 25 Aug 2014 22:27:24 +0000 (08:27 +1000)
committerMark Andrews <marka@isc.org>
Mon, 25 Aug 2014 22:28:27 +0000 (08:28 +1000)
(cherry picked from commit 905ba39e10a8f483d167b992ec31f4c0bf34326e)

CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index 2b4f1996d0c528ac7420fe71aa1e63119de1bad1..d1d7702c6c445eb6fa0a3aa92e0395f382706c6a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+3929.  [bug]           'host -a' needed to clear idnoptions. [RT #36963]
+
 3928.  [test]          Improve rndc system test. [RT #36898]
 
 3927.  [bug]           dig: report PKCS#11 error codes correctly when
index 391ed802cb51dc268f9d8dba1f9f1a1d6d664e2d..08f89bf74c9e258b53aafa217062b00e5c7af3a0 100644 (file)
@@ -765,6 +765,9 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
                        if (!lookup->rdtypeset ||
                            lookup->rdtype != dns_rdatatype_axfr)
                                lookup->rdtype = dns_rdatatype_any;
+#ifdef WITH_IDN
+                       idnoptions = 0;
+#endif
                        list_type = dns_rdatatype_any;
                        list_addresses = ISC_FALSE;
                        lookup->rdtypeset = ISC_TRUE;