diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-06-14 10:44:41 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-06-14 10:44:41 -0230 |
commit | 9384d90d200a46c26a22135d4f4e39be78d04ab0 (patch) | |
tree | 301242e7633043ec9225e2732a81037f438da9c4 /cpp/src/Ice/UdpEndpointI.cpp | |
parent | Fixed bug 2254 (diff) | |
download | ice-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/Ice/UdpEndpointI.cpp')
-rw-r--r-- | cpp/src/Ice/UdpEndpointI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/UdpEndpointI.cpp b/cpp/src/Ice/UdpEndpointI.cpp index 8054240cc68..9bd84aa4297 100644 --- a/cpp/src/Ice/UdpEndpointI.cpp +++ b/cpp/src/Ice/UdpEndpointI.cpp @@ -496,7 +496,7 @@ IceInternal::UdpEndpointI::acceptor(EndpointIPtr& endp, const string&) const } vector<EndpointIPtr> -IceInternal::UdpEndpointI::expand(bool includeLoopback) const +IceInternal::UdpEndpointI::expand() const { vector<EndpointIPtr> endps; if(_host == "0.0.0.0") @@ -504,7 +504,7 @@ IceInternal::UdpEndpointI::expand(bool includeLoopback) const vector<string> hosts = 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 UdpEndpointI(_instance, hosts[i], _port, _mcastInterface, _mcastTtl, _connect, _connectionId, _compress)); |