Fix parameter name.
This commit is contained in:
parent
333643d48e
commit
8895f62a49
|
@ -800,10 +800,10 @@ struct UDPConnection {
|
||||||
See https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml#multicast-addresses-12
|
See https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml#multicast-addresses-12
|
||||||
and https://www.iana.org/assignments/ipv6-multicast-addresses/ipv6-multicast-addresses.xhtml
|
and https://www.iana.org/assignments/ipv6-multicast-addresses/ipv6-multicast-addresses.xhtml
|
||||||
*/
|
*/
|
||||||
void addMembership(ref NetworkAddress multiaddr, uint interface_address = 0)
|
void addMembership(ref NetworkAddress multiaddr, uint interface_index = 0)
|
||||||
{
|
{
|
||||||
scope addr = new RefAddress(multiaddr.sockAddr, multiaddr.sockAddrMaxLen);
|
scope addr = new RefAddress(multiaddr.sockAddr, multiaddr.sockAddrMaxLen);
|
||||||
enforce(eventDriver.sockets.joinMulticastGroup(m_socket, addr, interface_address),
|
enforce(eventDriver.sockets.joinMulticastGroup(m_socket, addr, interface_index),
|
||||||
"Failed to add multicast membership.");
|
"Failed to add multicast membership.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue