mirror of
https://github.com/opnsense/src.git
synced 2026-04-03 16:35:27 -04:00
if: Fix non-VIMAGE build
if_link_ifnet() and if_unlink_ifnet() are needed even when VIMAGE is not enabled. MFC after: 2 weeks Sponsored by: Modirum MDPay
This commit is contained in:
parent
07ef907f6e
commit
bca0e1d2ac
1 changed files with 2 additions and 0 deletions
|
|
@ -468,6 +468,7 @@ vnet_if_uninit(const void *unused __unused)
|
|||
}
|
||||
VNET_SYSUNINIT(vnet_if_uninit, SI_SUB_INIT_IF, SI_ORDER_FIRST,
|
||||
vnet_if_uninit, NULL);
|
||||
#endif
|
||||
|
||||
static void
|
||||
if_link_ifnet(struct ifnet *ifp)
|
||||
|
|
@ -504,6 +505,7 @@ if_unlink_ifnet(struct ifnet *ifp, bool vmove)
|
|||
return (found);
|
||||
}
|
||||
|
||||
#ifdef VIMAGE
|
||||
static void
|
||||
vnet_if_return(const void *unused __unused)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue