From: Mark Andrews Date: Fri, 21 Jul 2006 23:52:29 +0000 (+0000) Subject: 2056. [bug] dig: ixfr= was not being treated case insensitively X-Git-Tag: v9.3.3rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89951958b6a104fa14c62c90ca3aaa84fdba83b9;p=thirdparty%2Fbind9.git 2056. [bug] dig: ixfr= was not being treated case insensitively at all times. [RT #15955] --- diff --git a/CHANGES b/CHANGES index 18c56fced8a..84bc61f0136 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2056. [bug] dig: ixfr= was not being treated case insensitively + at all times. [RT #15955] + 2055. [bug] Missing goto after dropping multicast query. [RT #15944] diff --git a/bin/dig/dig.c b/bin/dig/dig.c index 52df6608685..88d3a91bc2f 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.157.2.13.2.29 2005/10/14 01:38:40 marka Exp $ */ +/* $Id: dig.c,v 1.157.2.13.2.30 2006/07/21 23:52:29 marka Exp $ */ #include #include @@ -1437,7 +1437,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only, * Anything which isn't an option */ if (open_type_class) { - if (strncmp(rv[0], "ixfr=", 5) == 0) { + if (strncasecmp(rv[0], "ixfr=", 5) == 0) { rdtype = dns_rdatatype_ixfr; result = ISC_R_SUCCESS; } else {