summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Network.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-05-01 12:43:38 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-05-01 12:43:38 -0230
commitc80bbef52c82989b48570f4449831b7017917982 (patch)
tree963493c6dafe1ff47310d0f7f58420b2a64ae522 /cpp/src/Ice/Network.cpp
parentBug 3459 - add rewind/reset to InputStream/OutputStream (diff)
downloadice-c80bbef52c82989b48570f4449831b7017917982.tar.bz2
ice-c80bbef52c82989b48570f4449831b7017917982.tar.xz
ice-c80bbef52c82989b48570f4449831b7017917982.zip
Bug 3972 - improve server network tracing
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r--cpp/src/Ice/Network.cpp4
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)
{