]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Typo in netmask hack
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 22 Feb 2009 03:40:03 +0000 (16:40 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 22 Feb 2009 03:40:03 +0000 (16:40 +1300)
src/ACLIP.cc

index 146f10d70f2e03013dd27394c5bad47ce915482d..c1372098eb74b5bfb21ccd83606803739517a0b9 100644 (file)
@@ -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 */