]> granicus.if.org Git - php/commitdiff
Reverted my previous commit
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sat, 1 Mar 2003 18:47:18 +0000 (18:47 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sat, 1 Mar 2003 18:47:18 +0000 (18:47 +0000)
main/network.c

index 9554786f894af6a92f60025989e02f760c467440..eee8530ac73ae632e612b3e6f9bff7db39dbe331 100644 (file)
@@ -509,7 +509,7 @@ static void populate_name(
 
                                break;
 
-#if HAVE_IPV6 && HAVE_INET_NTOP
+#if HAVE_IPV6
                        case AF_INET6:
                                buf = (char*)inet_ntop(sa->sa_family, &((struct sockaddr_in6*)sa)->sin6_addr, (char *)&abuf, sizeof(abuf));
                                if (buf) {