mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
netlink/route: Fix the argument list for rtnl_handle_iflink()
This function is registered as a ifnet_link_event and so should have the corresponding argument list. PR: 282870 Reported by: nakayamakenjiro@gmail.com MFC after: 1 week (cherry picked from commit 0289db3259532d51ebe58bc0b2647a0d9e6cae66)
This commit is contained in:
parent
bc7c938f18
commit
7a96546625
1 changed files with 1 additions and 1 deletions
|
|
@ -1427,7 +1427,7 @@ rtnl_handle_ifdetach(void *arg, if_t ifp)
|
|||
}
|
||||
|
||||
static void
|
||||
rtnl_handle_iflink(void *arg, if_t ifp)
|
||||
rtnl_handle_iflink(void *arg, if_t ifp, int link_state __unused)
|
||||
{
|
||||
NL_LOG(LOG_DEBUG2, "ifnet %s", if_name(ifp));
|
||||
rtnl_handle_ifevent(ifp, NL_RTM_NEWLINK, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue