From: Mark Andrews Date: Fri, 21 Jul 2006 23:50:15 +0000 (+0000) Subject: 2056. [bug] dig: ixfr= was not being treated case insensitively X-Git-Tag: v9.4.0b3~49^2~74 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2b67af24fa02867fbc703e89277400b10d0c8b92;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 430006a27e4..102d517c084 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 ac355582125..bf371df41f3 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.212 2006/05/15 06:10:58 marka Exp $ */ +/* $Id: dig.c,v 1.213 2006/07/21 23:50:15 marka Exp $ */ /*! \file */ @@ -1571,7 +1571,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 {