fix: wrong amount of arguments passed to function

I don't know why that one argument was discarded. Is there a reason? It failed to compile.
This commit is contained in:
r00ster91 2022-09-18 20:29:11 +02:00
parent a56a51e48f
commit 47e72132e2

View File

@ -31,8 +31,7 @@ pub const ManagedNetworkProtocol = extern struct {
/// Translates an IP multicast address to a hardware (MAC) multicast address.
/// This function may be unsupported in some MNP implementations.
pub fn mcastIpToMac(self: *const ManagedNetworkProtocol, ipv6flag: bool, ipaddress: *const anyopaque, mac_address: *MacAddress) Status {
_ = mac_address;
return self._mcast_ip_to_mac(self, ipv6flag, ipaddress);
return self._mcast_ip_to_mac(self, ipv6flag, ipaddress, mac_address);
}
/// Enables and disables receive filters for multicast address.