diff options
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index c6fbf1bc6ee..b630cf3e85a 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -1768,7 +1768,7 @@ IceInternal::setPort(struct sockaddr_storage& addr, int port) } vector<string> -IceInternal::getHostsForEndpointExpand(const string& host, ProtocolSupport protocolSupport) +IceInternal::getHostsForEndpointExpand(const string& host, ProtocolSupport protocolSupport, bool includeLoopback) { vector<string> hosts; if(host.empty() || isWildcard(host, protocolSupport)) @@ -1787,7 +1787,7 @@ IceInternal::getHostsForEndpointExpand(const string& host, ProtocolSupport proto } } - if(hosts.empty()) + if(hosts.empty() || includeLoopback) { if(protocolSupport != EnableIPv6) { |