--------------------- PatchSet 4122 Date: 2007/03/25 13:25:24 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Fixed: mask not being converted from netmask format. Members: src/ACLIP.cc:1.8.2.15->1.8.2.16 Index: squid3/src/ACLIP.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACLIP.cc,v retrieving revision 1.8.2.15 retrieving revision 1.8.2.16 diff -u -r1.8.2.15 -r1.8.2.16 --- squid3/src/ACLIP.cc 24 Mar 2007 06:05:05 -0000 1.8.2.15 +++ squid3/src/ACLIP.cc 25 Mar 2007 13:25:24 -0000 1.8.2.16 @@ -1,5 +1,5 @@ /* - * $Id: ACLIP.cc,v 1.8.2.15 2007/03/24 06:05:05 amosjeffries Exp $ + * $Id: ACLIP.cc,v 1.8.2.16 2007/03/25 13:25:24 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -205,13 +205,12 @@ (a1 <= (AF_FAMILY==AF_INET6)? 128:32) && (a1 >= 0) ) { - mask.ApplyMask(a1, ctype); - return true; + return mask.ApplyMask(a1, ctype); } /* dotted notation 2003:800::3 */ /* 255.255.255.0 */ - if (mask == asc) + if( (mask = asc) ) return true; // else false.