mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00: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
This commit is contained in:
parent
cc3da1955c
commit
0289db3259
@ -1429,7 +1429,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 New Issue
Block a user