From e1cc8aca24c65abdf4ddb7cd35c7d19a6cb52631 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 22 Feb 2009 16:40:03 +1300 Subject: [PATCH] Typo in netmask hack --- src/ACLIP.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.3