diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index b2543ca0e8b1..574083ae0283 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -4406,9 +4406,7 @@ int rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p, if (ng) { nhe.nhg.nexthop = ng->nexthop; - if (re->type == ZEBRA_ROUTE_CONNECT || - re->type == ZEBRA_ROUTE_LOCAL || - re->type == ZEBRA_ROUTE_KERNEL) + if (RIB_SYSTEM_ROUTE(re)) SET_FLAG(nhe.flags, NEXTHOP_GROUP_INITIAL_DELAY_INSTALL); } else if (re->nhe_id > 0) nhe.id = re->nhe_id;