zebra: Clean up indentation level in nexthop_active

Clean up the while loop indentation level to be a bit more
readable.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-06-07 07:39:35 -04:00
parent 4491a88f9e
commit c87bdd2b0f

View File

@ -503,9 +503,10 @@ nexthop_active (afi_t afi, struct route_entry *re, struct nexthop *nexthop, int
} while (rn && rn->info == NULL);
if (rn)
route_lock_node (rn);
continue;
}
else
{
/* If the longest prefix match for the nexthop yields
* a blackhole, mark it as inactive. */
if (CHECK_FLAG (match->flags, ZEBRA_FLAG_BLACKHOLE)
@ -565,7 +566,6 @@ nexthop_active (afi_t afi, struct route_entry *re, struct nexthop *nexthop, int
return 0;
}
}
}
return 0;
}