Skip to content

Commit bc5090d

Browse files
committed
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.
1 parent 4734d83 commit bc5090d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/std/os/uefi/protocols/managed_network_protocol.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ pub const ManagedNetworkProtocol = extern struct {
3131
/// Translates an IP multicast address to a hardware (MAC) multicast address.
3232
/// This function may be unsupported in some MNP implementations.
3333
pub fn mcastIpToMac(self: *const ManagedNetworkProtocol, ipv6flag: bool, ipaddress: *const anyopaque, mac_address: *MacAddress) Status {
34-
_ = mac_address;
35-
return self._mcast_ip_to_mac(self, ipv6flag, ipaddress);
34+
return self._mcast_ip_to_mac(self, ipv6flag, ipaddress, mac_address);
3635
}
3736

3837
/// Enables and disables receive filters for multicast address.

0 commit comments

Comments
 (0)