route: allow RTM_CHANGE notifications in rt_routemsg().
MFC after: 2 weeks
This commit is contained in:
parent
e8d7ae918a
commit
3636a967f3
@ -661,7 +661,7 @@ rt_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh,
|
||||
int fibnum)
|
||||
{
|
||||
|
||||
KASSERT(cmd == RTM_ADD || cmd == RTM_DELETE,
|
||||
KASSERT(cmd == RTM_ADD || cmd == RTM_DELETE || cmd == RTM_CHANGE,
|
||||
("unexpected cmd %d", cmd));
|
||||
|
||||
KASSERT(fibnum == RT_ALL_FIBS || (fibnum >= 0 && fibnum < rt_numfibs),
|
||||
|
Loading…
Reference in New Issue
Block a user