mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +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