From: serassio <> Date: Mon, 21 Jan 2008 00:23:19 +0000 (+0000) Subject: Fix ARP ACL build error on all not Linux platforms. X-Git-Tag: BASIC_TPROXY4~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af91c374c6d0c7d23c08f77965c1f3e78ae98337;p=thirdparty%2Fsquid.git Fix ARP ACL build error on all not Linux platforms. --- diff --git a/src/ACLARP.cc b/src/ACLARP.cc index cb062169a5..7b00f4a04d 100644 --- a/src/ACLARP.cc +++ b/src/ACLARP.cc @@ -1,6 +1,6 @@ /* - * $Id: ACLARP.cc,v 1.26 2007/12/16 22:32:09 amosjeffries Exp $ + * $Id: ACLARP.cc,v 1.27 2008/01/20 17:23:19 serassio Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -246,16 +246,15 @@ aclMatchArp(SplayNode **dataptr, IPAddress &c) IPAddress ipAddr = c; - struct sockaddr_in *sa = NULL; - #if defined(_SQUID_LINUX_) unsigned char ifbuffer[sizeof(struct ifreq) * 64]; - struct ifconf ifc; + struct sockaddr_in *sa = NULL; struct ifreq *ifr; int offset; + SplayNode **Top = dataptr; /* * The linux kernel 2.2 maintains per interface ARP caches and