diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-04-08 09:11:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 09:11:40 +0200 |
commit | db516618eee937974d9e902864ad0165320d85d8 (patch) | |
tree | 360636e537f9b37df26c16eed5d60839f91057b1 | |
parent | 6e5923b9018964de6dc0eaf5c5b6fa23b683f200 (diff) | |
download | ATCD-revert-394-master.tar.gz |
Revert "Fix getaddrinfo() inconsistent behavior on windows machines"revert-394-master
-rw-r--r-- | ACE/ace/INET_Addr.cpp | 6 |
1 files changed, 1 insertions, 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 |