diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 73e4b981b5..bccf9b6b14 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -608,6 +608,9 @@ static int nexthop_active(afi_t afi, struct route_entry *re, if (!CHECK_FLAG(match->status, ROUTE_ENTRY_INSTALLED)) continue; + if (CHECK_FLAG(newhop->flags, + NEXTHOP_FLAG_RECURSIVE)) + continue; if (set) { SET_FLAG(nexthop->flags,