mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
netlink: require proper privileges when adding neighbor.
MFC after: 3 days
This commit is contained in:
1 parent
896e22fbc6
commit
acc65df45a
1 file changed
+1
@@ -539,6 +539,7 @@ static const struct rtnl_cmd_handler cmd_handlers[] = {
|
||||
.cmd = NL_RTM_NEWNEIGH,
|
||||
.name = "RTM_NEWNEIGH",
|
||||
.cb = &rtnl_handle_newneigh,
|
||||
.priv = PRIV_NET_ROUTE,
|
||||
},
|
||||
{
|
||||
.cmd = NL_RTM_DELNEIGH,
|
||||
|
||||
Reference in new issue
Block a user