You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
368 B
13 lines
368 B
--- 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)
|
|
{
|
|
|