summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/EndpointI.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-06-14 10:44:41 -0230
committerDwayne Boone <dwayne@zeroc.com>2007-06-14 10:44:41 -0230
commit9384d90d200a46c26a22135d4f4e39be78d04ab0 (patch)
tree301242e7633043ec9225e2732a81037f438da9c4 /cpp/src/IceSSL/EndpointI.cpp
parentFixed bug 2254 (diff)
downloadice-9384d90d200a46c26a22135d4f4e39be78d04ab0.tar.bz2
ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.tar.xz
ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.zip
No longer necessary to expand enpoints in proxies, use same mechanism as for multihomed hosts.
Added some missing .gitignore files.
Diffstat (limited to 'cpp/src/IceSSL/EndpointI.cpp')
-rw-r--r--cpp/src/IceSSL/EndpointI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/EndpointI.cpp b/cpp/src/IceSSL/EndpointI.cpp
index 246f4761296..ca03a133260 100644
--- a/cpp/src/IceSSL/EndpointI.cpp
+++ b/cpp/src/IceSSL/EndpointI.cpp
@@ -310,7 +310,7 @@ IceSSL::EndpointI::acceptor(IceInternal::EndpointIPtr& endp, const string& adapt
}
vector<IceInternal::EndpointIPtr>
-IceSSL::EndpointI::expand(bool includeLoopback) const
+IceSSL::EndpointI::expand() const
{
vector<IceInternal::EndpointIPtr> endps;
if(_host == "0.0.0.0")
@@ -318,7 +318,7 @@ IceSSL::EndpointI::expand(bool includeLoopback) const
vector<string> hosts = IceInternal::getLocalHosts();
for(unsigned int i = 0; i < hosts.size(); ++i)
{
- if(includeLoopback || hosts.size() == 1 || hosts[i] != "127.0.0.1")
+ if(hosts.size() == 1 || hosts[i] != "127.0.0.1")
{
endps.push_back(new EndpointI(_instance, hosts[i], _port, _timeout, _connectionId, _compress));
}