From 22afbf9446bb552637ac3670df52d04736bb88be Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Tue, 23 Sep 2014 14:05:55 -0300 Subject: [PATCH] zebra_rib: Revert work-around for zebra marking recursive static route as inactive. --- zebra/zebra_rib.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 883fe07c1b..f7290caea9 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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) -- 2.39.5