Add comment questioning part of previous change (Denis?).

Fix indentation to match accumulated changes.
This commit is contained in:
Greg Troxel 2007-08-02 14:13:56 +00:00
parent f76594a2e3
commit dfdb8f18c0

View file

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