diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 77abe8bb6d..d888ceff2c 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -2367,7 +2367,8 @@ dplane_route_update_internal(struct route_node *rn, */ if ((dplane_ctx_get_type(ctx) == dplane_ctx_get_old_type(ctx)) && (dplane_ctx_get_nhe_id(ctx) - == dplane_ctx_get_old_nhe_id(ctx))) { + == dplane_ctx_get_old_nhe_id(ctx)) + && (dplane_ctx_get_nhe_id(ctx) >= ZEBRA_NHG_PROTO_LOWER)) { struct nexthop *nexthop; if (IS_ZEBRA_DEBUG_DPLANE)