Skip to content

Commit

Permalink
fix: wrong amount of arguments passed to function
Browse files Browse the repository at this point in the history
I don't know why that one argument was discarded. Is there a reason? It failed to compile.
  • Loading branch information
wooster0 committed Oct 7, 2022
1 parent a56a51e commit 47e7213
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/std/os/uefi/protocols/managed_network_protocol.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 47e7213

Please sign in to comment.