Commit cbddeebe authored by Ben Laurie's avatar Ben Laurie
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
parent 03cb37ac
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;