mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 03:24:58 +02:00
782cc4f1ad
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14588 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)
|
|
{
|