From db516618eee937974d9e902864ad0165320d85d8 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sat, 8 Apr 2017 09:11:40 +0200 Subject: Revert "Fix getaddrinfo() inconsistent behavior on windows machines" --- ACE/ace/INET_Addr.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ACE/ace/INET_Addr.cpp b/ACE/ace/INET_Addr.cpp index e2d33e32ebb..811ee79afc6 100644 --- a/ACE/ace/INET_Addr.cpp +++ b/ACE/ace/INET_Addr.cpp @@ -412,11 +412,7 @@ ACE_INET_Addr::set (u_short port_number, // The ai_flags used to contain AI_ADDRCONFIG as well but that prevented // lookups from completing if there is no, or only a loopback, IPv6 // interface configured. See Bugzilla 4211 for more info. - - // Without AI_ALL, Windows machines exhibit inconsistent behaviors on - // difference machines we have tested. - hints.ai_flags = AI_V4MAPPED | AI_ALL; - + hints.ai_flags = AI_V4MAPPED; // Note - specify the socktype here to avoid getting multiple entries // returned with the same address for different socket types or // protocols. If this causes a problem for some reason (an address that's -- cgit v1.2.1