--------------------- PatchSet 6402 Date: 2007/12/19 01:05:53 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Drop last code reference to inet_aton() Members: lib/rfc1035.c:1.5.2.25->1.5.2.26 Index: squid3/lib/rfc1035.c =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/rfc1035.c,v retrieving revision 1.5.2.25 retrieving revision 1.5.2.26 diff -u -r1.5.2.25 -r1.5.2.26 --- squid3/lib/rfc1035.c 7 Dec 2007 01:10:28 -0000 1.5.2.25 +++ squid3/lib/rfc1035.c 19 Dec 2007 01:05:53 -0000 1.5.2.26 @@ -1,6 +1,6 @@ /* - * $Id: rfc1035.c,v 1.5.2.25 2007/12/07 01:10:28 amosjeffries Exp $ + * $Id: rfc1035.c,v 1.5.2.26 2007/12/19 01:05:53 amosjeffries Exp $ * * Low level DNS protocol routines * AUTHOR: Duane Wessels @@ -768,7 +768,7 @@ strtok(input, "\r\n"); memset(buf, '\0', 512); sz = 512; - if (inet_aton(input, &junk)) { + if (inet_pton(AF_INET, input, &junk)) { sid = rfc1035BuildPTRQuery(junk, buf, &sz); } else { sid = rfc1035BuildAQuery(input, buf, &sz);