mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-11 21:12:28 +02:00
aa725129e8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14994 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
368 B
Diff
14 lines
368 B
Diff
--- a/libc/inet/getaddrinfo.c
|
|
+++ b/libc/inet/getaddrinfo.c
|
|
@@ -858,7 +858,10 @@ getaddrinfo (const char *name, const cha
|
|
if (hints->ai_family == g->family || hints->ai_family == AF_UNSPEC)
|
|
{
|
|
if ((hints->ai_flags & AI_ADDRCONFIG) && !addrconfig(g->family))
|
|
+ {
|
|
+ g++;
|
|
continue;
|
|
+ }
|
|
j++;
|
|
if (pg == NULL || pg->gaih != g->gaih)
|
|
{
|