summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-12-23 00:01:25 +0100
committerJose <jose@zeroc.com>2016-12-23 00:01:25 +0100
commitceba96fd8069cfb480f22ae5fb7f6f55634d8f1e (patch)
tree945009173817c906aaaec26a93661b7d9a888b00 /cpp/src/Ice/UdpTransceiver.cpp
parentFix android test suite builds to use compat mapping (diff)
downloadice-ceba96fd8069cfb480f22ae5fb7f6f55634d8f1e.tar.bz2
ice-ceba96fd8069cfb480f22ae5fb7f6f55634d8f1e.tar.xz
ice-ceba96fd8069cfb480f22ae5fb7f6f55634d8f1e.zip
Fixed (ICE-7472) UWP and Mcast interface
In UWP the multicast interface must be send when the datagram socket is bind.
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rwxr-xr-xcpp/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 4621750689e..00c035b557a 100755
--- a/cpp/src/Ice/UdpTransceiver.cpp
+++ b/cpp/src/Ice/UdpTransceiver.cpp
@@ -142,7 +142,7 @@ IceInternal::UdpTransceiver::bind()
const_cast<Address&>(_addr) = getAddressForServer("", _port, getProtocolSupport(_addr), false);
#endif
- const_cast<Address&>(_addr) = doBind(_fd, _addr);
+ const_cast<Address&>(_addr) = doBind(_fd, _addr, _mcastInterface);
if(getPort(_mcastAddr) == 0)
{
setPort(_mcastAddr, getPort(_addr));