From cbddeebe49ae024e8debc9ae4f90f22ee15a69e2 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 25 Jun 2016 17:42:14 +0100 Subject: [PATCH] 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 --- crypto/bio/b_addr.c | 3 --- 1 file changed, 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; -- 2.34.1