--------------------- PatchSet 5133 Date: 2007/08/02 11:48:32 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Fix Logic errors in ACLARP. Members: src/ACLARP.cc:1.9.4.11->1.9.4.12 Index: squid3/src/ACLARP.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACLARP.cc,v retrieving revision 1.9.4.11 retrieving revision 1.9.4.12 diff -u -r1.9.4.11 -r1.9.4.12 --- squid3/src/ACLARP.cc 3 Jun 2007 12:58:32 -0000 1.9.4.11 +++ squid3/src/ACLARP.cc 2 Aug 2007 11:48:32 -0000 1.9.4.12 @@ -1,5 +1,6 @@ + /* - * $Id: ACLARP.cc,v 1.9.4.11 2007/06/03 12:58:32 amosjeffries Exp $ + * $Id: ACLARP.cc,v 1.9.4.12 2007/08/02 11:48:32 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -274,7 +275,7 @@ ipAddr = c; memset(&arpReq, '\0', sizeof(arpReq)); - arpReq.arp_pa = ipAddr; + ipAddr.GetSockAddr(arpReq.arp_pa); /* Query ARP table */ if (ioctl(HttpSockets[0], SIOCGARP, &arpReq) != -1) { @@ -410,7 +411,7 @@ memset(&arpReq, '\0', sizeof(arpReq)); - arpReq.arp_pa = ipAddr; + ipAddr.GetSockAddr(arpReq.arp_pa); /* Query ARP table */ if (ioctl(HttpSockets[0], SIOCGARP, &arpReq) != -1) { @@ -470,7 +471,7 @@ memset(&arpReq, '\0', sizeof(arpReq)); - arpReq.arp_pa = ipAddr; + ipAddr.GetSockAddr(arpReq.arp_pa); /* Query ARP table */ mib[0] = CTL_NET;