OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac47326
)
Oops.
author
Eric Andersen
<andersen@codepoet.org>
Thu, 21 Nov 2002 07:05:33 +0000
(07:05 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 21 Nov 2002 07:05:33 +0000
(07:05 -0000)
libc/inet/getaddrinfo.c
patch
|
blob
|
history
diff --git
a/libc/inet/getaddrinfo.c
b/libc/inet/getaddrinfo.c
index
a2f595a
..
553d5a9
100644
(file)
--- a/
libc/inet/getaddrinfo.c
+++ b/
libc/inet/getaddrinfo.c
@@
-583,6
+583,7
@@
gaih_inet (const char *name, const struct gaih_service *service,
#if __UCLIBC_HAS_IPV6__
if (req->ai_family == 0 || req->ai_family == AF_INET6)
{
+ extern const struct in6_addr __in6addr_loopback;
at->family = AF_INET6;
if ((req->ai_flags & AI_PASSIVE) == 0)
memcpy (at->addr, &__in6addr_loopback, sizeof (struct in6_addr));