From 8895f62a494dc5e10650d784964cdcab3ac4e805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Fri, 15 Sep 2017 15:58:35 +0200 Subject: [PATCH] Fix parameter name. --- source/vibe/core/net.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/vibe/core/net.d b/source/vibe/core/net.d index 94ceb18..14e0b39 100644 --- a/source/vibe/core/net.d +++ b/source/vibe/core/net.d @@ -800,10 +800,10 @@ struct UDPConnection { 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 */ - 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); - enforce(eventDriver.sockets.joinMulticastGroup(m_socket, addr, interface_address), + enforce(eventDriver.sockets.joinMulticastGroup(m_socket, addr, interface_index), "Failed to add multicast membership."); }