forked from Mirror/frr
Add comment questioning part of previous change (Denis?).
Fix indentation to match accumulated changes.
This commit is contained in:
parent
f76594a2e3
commit
dfdb8f18c0
|
@ -96,6 +96,11 @@ kernel_rtm_ipv4 (int cmd, struct prefix *p, struct rib *rib, int family)
|
|||
{
|
||||
gate = 0;
|
||||
|
||||
/*
|
||||
* XXX We need to refrain from kernel operations in some cases,
|
||||
* but this if statement seems overly cautious - what about
|
||||
* other than ADD and DELETE?
|
||||
*/
|
||||
if ((cmd == RTM_ADD
|
||||
&& CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_ACTIVE))
|
||||
|| (cmd == RTM_DELETE
|
||||
|
|
Loading…
Reference in a new issue