]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct parsing of ip/mask. Was being parsed as ip-255.255.255.255/mask
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Wed, 13 Aug 2008 03:22:54 +0000 (05:22 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Wed, 13 Aug 2008 03:22:54 +0000 (05:22 +0200)
src/ACLIP.cc

index ef6ee9f428a324606d128c6f45a6be9558102645..999986629ec6f373d257070b9f5e63974db26cb7 100644 (file)
@@ -387,7 +387,7 @@ acl_ip_data::FactoryParse(const char *t)
         self_destruct();
         return NULL;
     }
-    else q->addr2 = addr2;
+    else q->addr2 = addr1;
 
     /* Decode mask (NULL or empty means a exact host mask) */
     if (!DecodeMask(mask, q->mask, iptype)) {