Some interfaces may have IPv6 addresses even if an IPv6 address is not

"configured on the local system". Whatever that means. Example that is biting
me is loopback has ::1 as an address, but the network interface is v4 only.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Ben Laurie 2016-06-25 17:42:14 +01:00
parent 03cb37acec
commit cbddeebe49

View File

@ -666,9 +666,6 @@ int BIO_lookup(const char *host, const char *service,
struct addrinfo hints;
memset(&hints, 0, sizeof hints);
# ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
# endif
hints.ai_family = family;
hints.ai_socktype = socktype;