mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 00:35:10 +00:00
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:
parent
a56a51e48f
commit
47e72132e2
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user