|
@@ -156,10 +156,9 @@ IfaceMgr::openMulticastSocket(Iface& iface,
|
|
const uint16_t port,
|
|
const uint16_t port,
|
|
IfaceMgrErrorMsgCallback error_handler) {
|
|
IfaceMgrErrorMsgCallback error_handler) {
|
|
try {
|
|
try {
|
|
- // This should open a socket, bound it to link-local address
|
|
|
|
|
|
+ // This should open a socket, bind it to link-local address
|
|
// and join multicast group.
|
|
// and join multicast group.
|
|
- openSocket(iface.getName(), addr, port,
|
|
|
|
- iface.flag_multicast_);
|
|
|
|
|
|
+ openSocket(iface.getName(), addr, port, iface.flag_multicast_);
|
|
|
|
|
|
} catch (const Exception& ex) {
|
|
} catch (const Exception& ex) {
|
|
IFACEMGR_ERROR(SocketConfigError, error_handler,
|
|
IFACEMGR_ERROR(SocketConfigError, error_handler,
|