zebra_rib: Revert work-around for zebra marking recursive static route as inactive.

This commit is contained in:
Everton Marques 2014-09-23 14:05:55 -03:00 committed by Donald Sharp
parent 8f26ef2c68
commit 22afbf9446

View File

@ -436,13 +436,7 @@ nexthop_active_ipv4 (struct rib *rib, struct nexthop *nexthop, int set,
return 1;
}
else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL) ||
match->type == ZEBRA_ROUTE_KERNEL)
/*
|| match->type == ZEBRA_ROUTE_KERNEL
This prevents zebra from marking recursive static route as inactive.
See pimd/TODO T26.
*/
else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL))
{
resolved = 0;
for (newhop = match->nexthop; newhop; newhop = newhop->next)