lib/fetch.c: ignore EADDRNOTAVAIL and try next ip

This commit is contained in:
Duncaen 2019-06-21 20:23:55 +02:00
parent 58509996aa
commit 7e762cc357

View File

@ -580,6 +580,10 @@ happy_eyeballs_connect(struct addrinfo *res0, int verbose)
unreach |= UNREACH_IPV6;
}
continue;
} else if (errno == EADDRNOTAVAIL) {
err = errno;
close(sd);
continue;
} else {
err = errno;
rv = -1;