--------------------- PatchSet 1434 Date: 2005/06/01 16:38:55 Author: rmartinez Branch: squid3-ipv6 Tag: (none) Log: trying a pure IPv6 version Members: lib/safe_inet_addr.c:1.1.30.5->1.1.30.6 Index: squid3/lib/safe_inet_addr.c =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/safe_inet_addr.c,v retrieving revision 1.1.30.5 retrieving revision 1.1.30.6 diff -u -r1.1.30.5 -r1.1.30.6 --- squid3/lib/safe_inet_addr.c 25 Apr 2005 13:48:56 -0000 1.1.30.5 +++ squid3/lib/safe_inet_addr.c 1 Jun 2005 16:38:55 -0000 1.1.30.6 @@ -1,6 +1,6 @@ /* - * $Id: safe_inet_addr.c,v 1.1.30.5 2005/04/25 13:48:56 rmartinez Exp $ + * $Id: safe_inet_addr.c,v 1.1.30.6 2005/06/01 16:38:55 rmartinez Exp $ */ #include "config.h" @@ -90,6 +90,8 @@ int safe_inet6_addr(const char *buf, struct in6_addr *addr) { +#if 0 + /* FIXME: For the time beeing, let's try a pure IPv6 version */ static char addrbuf[128]; /* try IPv4 dotted quad first */ if (safe_inet_addr(buf, (struct in_addr *)addr) == 1) { @@ -98,6 +100,7 @@ xmemcpy(&addrbuf[7], buf, strlen(buf) + 1); return inet_pton(AF_INET6, addrbuf, addr); } +#endif /* else try IPv6 */ return inet_pton(AF_INET6, buf, addr);