summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r--cpp/src/Ice/UdpTransceiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp
index 03aa23796a7..2e1ecc5582c 100644
--- a/cpp/src/Ice/UdpTransceiver.cpp
+++ b/cpp/src/Ice/UdpTransceiver.cpp
@@ -375,7 +375,7 @@ IceInternal::UdpTransceiver::equivalent(const string& host, int port) const
{
struct sockaddr_in addr;
getAddress(host, port, addr);
- return compareAddress(addr, _addr);
+ return compareAddress(addr, _addr) == 0;
}
int