summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpEndpointI.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-06-13 14:04:24 -0230
committerDwayne Boone <dwayne@zeroc.com>2007-06-13 14:04:24 -0230
commitb2031b8795606b6893cb3766cc3f18f5c6c0c252 (patch)
tree79ad7a4f1c5e7866efc9547f1d4bb7354842579e /cpp/src/Ice/TcpEndpointI.cpp
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-b2031b8795606b6893cb3766cc3f18f5c6c0c252.tar.bz2
ice-b2031b8795606b6893cb3766cc3f18f5c6c0c252.tar.xz
ice-b2031b8795606b6893cb3766cc3f18f5c6c0c252.zip
Bug 1658 - fix collocation issue with endpoints listening on 0.0.0.0
Diffstat (limited to 'cpp/src/Ice/TcpEndpointI.cpp')
-rw-r--r--cpp/src/Ice/TcpEndpointI.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/cpp/src/Ice/TcpEndpointI.cpp b/cpp/src/Ice/TcpEndpointI.cpp
index 1fe6ecfabf1..1be75d2fe2f 100644
--- a/cpp/src/Ice/TcpEndpointI.cpp
+++ b/cpp/src/Ice/TcpEndpointI.cpp
@@ -333,20 +333,14 @@ IceInternal::TcpEndpointI::expand(bool includeLoopback) const
}
bool
-IceInternal::TcpEndpointI::equivalent(const TransceiverPtr&) const
+IceInternal::TcpEndpointI::equivalent(const ConnectorPtr& connector) const
{
- return false;
-}
-
-bool
-IceInternal::TcpEndpointI::equivalent(const AcceptorPtr& acceptor) const
-{
- const TcpAcceptor* tcpAcceptor = dynamic_cast<const TcpAcceptor*>(acceptor.get());
- if(!tcpAcceptor)
+ const TcpConnector* tcpConnector = dynamic_cast<const TcpConnector*>(connector.get());
+ if(!tcpConnector)
{
return false;
}
- return tcpAcceptor->equivalent(_host, _port);
+ return tcpConnector->equivalent(_host, _port);
}
bool