Revision: 14799
Author: adrian.chadd
Date: Tue Sep  7 05:08:24 2010
Log: Remove what I'm gathering is dead, mismerged code.

This restores the correct net/mask behaviour of IPv6 address ACL entries.


http://code.google.com/p/lusca-cache/source/detail?r=14799

Modified:
 /playpen/LUSCA_HEAD_ipv6/src/acl.c

=======================================
--- /playpen/LUSCA_HEAD_ipv6/src/acl.c  Tue Sep  7 00:17:11 2010
+++ /playpen/LUSCA_HEAD_ipv6/src/acl.c  Tue Sep  7 05:08:24 2010
@@ -528,7 +528,6 @@
        LOCAL_ARRAY(char, addr1, MAX_IPSTRLEN);
        LOCAL_ARRAY(char, addr2, MAX_IPSTRLEN);
        LOCAL_ARRAY(char, mask, MAX_IPSTRLEN);
-       LOCAL_ARRAY(char, buf, MAX_IPSTRLEN);

        acl_ip_data *q;
        char c;
@@ -593,8 +592,6 @@
        safe_free(q);
        return NULL;
     }
-    sqinet_ntoa(&q->mask, buf, sizeof(buf), SQADDR_NONE);
-
if (sqinet_host_is_netaddr(&q->addr1, &q->mask) || sqinet_host_is_netaddr(&q->addr2, &q->mask)) debug(28, 0) ("aclParseIpData6: WARNING: Netmask masks away part of the specified IP in '%s'\n", t);
     /* Store the masked version of the IP address */

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to