mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
LinuxKPI: Use IfAPI to get LLADDR
Reviewed by: bz, emaste Differential Revision: https://reviews.freebsd.org/D47525
This commit is contained in:
parent
4d0c95384f
commit
57609cb2de
@ -2783,7 +2783,7 @@ lkpi_vif_iflladdr(void *arg, struct ifnet *ifp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
vif = arg;
|
vif = arg;
|
||||||
IEEE80211_ADDR_COPY(vif->bss_conf.addr, IF_LLADDR(ifp));
|
IEEE80211_ADDR_COPY(vif->bss_conf.addr, if_getlladdr(ifp));
|
||||||
NET_EPOCH_EXIT(et);
|
NET_EPOCH_EXIT(et);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user