summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2016-06-25 17:42:14 +0100
committerBen Laurie <ben@links.org>2016-06-29 11:29:34 +0100
commitcbddeebe49ae024e8debc9ae4f90f22ee15a69e2 (patch)
tree6d53ba133b4fb01fcd3c7224e425961affa7dfbf /crypto/bio
parent03cb37acec0c23a01bee4357cd59ec9f97e528ba (diff)
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>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/b_addr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c
index e5352db756..b77fd4b1a0 100644
--- a/crypto/bio/b_addr.c
+++ b/crypto/bio/b_addr.c
@@ -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;