--------------------- PatchSet 5855 Date: 2007/09/27 21:07:33 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Fix typo in ACLIP mask conversion. Members: src/ACLIP.cc:1.8.2.49->1.8.2.50 Index: squid3/src/ACLIP.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACLIP.cc,v retrieving revision 1.8.2.49 retrieving revision 1.8.2.50 diff -u -r1.8.2.49 -r1.8.2.50 --- squid3/src/ACLIP.cc 26 Sep 2007 23:34:27 -0000 1.8.2.49 +++ squid3/src/ACLIP.cc 27 Sep 2007 21:07:33 -0000 1.8.2.50 @@ -1,5 +1,5 @@ /* - * $Id: ACLIP.cc,v 1.8.2.49 2007/09/26 23:34:27 amosjeffries Exp $ + * $Id: ACLIP.cc,v 1.8.2.50 2007/09/27 21:07:33 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -188,6 +188,7 @@ char junk; int a1 = 0; + /* default is a mask that doesn't change any IP */ mask.SetNoAddr(); if (!asc || !*asc) @@ -204,7 +205,8 @@ } /* dotted notation */ - if (!(mask = asc)) + /* assignment returns true if asc contained an IP address as text */ + if (mask = asc) return true; return false;