--------------------- PatchSet 5347 Date: 2007/08/15 22:51:32 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Fix compile error in IPv4-only mode. Members: src/ACLIP.cc:1.8.2.38->1.8.2.39 Index: squid3/src/ACLIP.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACLIP.cc,v retrieving revision 1.8.2.38 retrieving revision 1.8.2.39 diff -u -r1.8.2.38 -r1.8.2.39 --- squid3/src/ACLIP.cc 12 Aug 2007 07:34:05 -0000 1.8.2.38 +++ squid3/src/ACLIP.cc 15 Aug 2007 22:51:32 -0000 1.8.2.39 @@ -1,5 +1,5 @@ /* - * $Id: ACLIP.cc,v 1.8.2.38 2007/08/12 07:34:05 amosjeffries Exp $ + * $Id: ACLIP.cc,v 1.8.2.39 2007/08/15 22:51:32 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -293,7 +293,7 @@ #if !USE_IPV6 /* ignore IPv6 addresses when built with IPv4-only */ - if( iptype == IPv6 ) { + if( iptype == AF_INET6 ) { debugs(28, 0, "aclIpParseIpData: IPv6 has not been enabled. build with '--enable-ipv6'"); return NULL; }