blob: 3d1ba594a6f262a7bd64d5575472da2e1e9a2632 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- net/inet6.c.org Mon Feb 4 17:51:32 2002
+++ net/inet6.c Mon Feb 4 17:52:02 2002
@@ -64,11 +64,7 @@
memcpy(addr->s6_addr, &(((struct sockaddr_in6 *)(ai->ai_addr))->sin6_addr), sizeof(struct in6_addr));
return (0);
#else
-#ifdef MUSICA_IPV6
hp = gethostbyname2(hostname, AF_INET6);
-#else
- hp = getnodebyname(hostname, AF_INET6,AI_DEFAULT);
-#endif /*MUSICA_IPV6*/
#endif /*LINUX_IPV6*/
#endif /*SOLARIS7_IPV6*/
if (hp == 0) return (-1);
|