Fix parameter name.

This commit is contained in:
Sönke Ludwig 2017-09-15 15:58:35 +02:00
parent 333643d48e
commit 8895f62a49
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -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.");
} }