From: Amos Jeffries Date: Sun, 22 Feb 2009 03:40:03 +0000 (+1300) Subject: Typo in netmask hack X-Git-Tag: SQUID_3_2_0_1~1173 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1cc8aca24c65abdf4ddb7cd35c7d19a6cb52631;p=thirdparty%2Fsquid.git Typo in netmask hack --- diff --git a/src/ACLIP.cc b/src/ACLIP.cc index 146f10d70f..c1372098eb 100644 --- a/src/ACLIP.cc +++ b/src/ACLIP.cc @@ -227,7 +227,7 @@ acl_ip_data::DecodeMask(const char *asc, IpAddress &mask, int ctype) debugs(28, DBG_CRITICAL, "WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges."); debugs(28, DBG_CRITICAL, "WARNING: For now we assume you meant to write /" << m); /* reset the mask completely, and crop to the CIDR boundary back properly. */ - mask.NoAddr(); + mask.SetNoAddr(); return mask.ApplyMask(m,AF_INET); } #endif /* USE_IPV6 */