mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-20 07:24:36 +01:00
03205ec740
SVN-Revision: 14994
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)
|
|
{
|