From: Automatic source maintenance Date: Mon, 23 Nov 2009 02:37:03 +0000 (-0700) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_1_0_15~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd6be246a6b06e33060e5e5ed4fa1a6c8e956597;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/acl/Ip.cc b/src/acl/Ip.cc index 8025f6d056..a899aa5c61 100644 --- a/src/acl/Ip.cc +++ b/src/acl/Ip.cc @@ -277,7 +277,7 @@ acl_ip_data::FactoryParse(const char *t) /* Detect some old broken strings equivalent to 'all'. * treat them nicely. But be loud until its fixed. */ if (strcasecmp(t, "0/0") == 0 || strcasecmp(t, "0.0.0.0/0") == 0 || strcasecmp(t, "0.0.0.0/0.0.0.0") == 0 || - strcasecmp(t, "0.0.0.0") == 0 || strcasecmp(t, "0.0.0.0-0.0.0.0") == 0 || strcasecmp(t, "0.0.0.0-0.0.0.0/0") == 0) { + strcasecmp(t, "0.0.0.0") == 0 || strcasecmp(t, "0.0.0.0-0.0.0.0") == 0 || strcasecmp(t, "0.0.0.0-0.0.0.0/0") == 0) { debugs(28,DBG_CRITICAL, "ERROR: '" << t << "' needs to be replaced by the term 'all'."); debugs(28,DBG_CRITICAL, "SECURITY NOTICE: Overriding config setting. Using 'all' instead.");