From: Automatic source maintenance Date: Tue, 24 Nov 2009 01:12:58 +0000 (-0700) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_2_0_1~533 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fcc8376594150a5fb92145d3a4df159933c4eed;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/acl/Ip.cc b/src/acl/Ip.cc index 45a79a73c7..bc9bbba848 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.");