1
0
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:
Mark Johnston 2024-11-22 13:52:57 +00:00
parent cc3da1955c
commit 0289db3259

View File

@ -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);