diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c index 4f3ccde53dab..2b058f2aa280 100644 --- a/staticd/static_zebra.c +++ b/staticd/static_zebra.c @@ -346,7 +346,8 @@ void static_zebra_nht_register(struct static_nexthop *nh, bool reg) /* refresh with existing data */ afi_t afi = prefix_afi(&lookup.nh); - if (nh->state == STATIC_NOT_INSTALLED) + if (nh->state == STATIC_NOT_INSTALLED || + nh->state == STATIC_SENT_TO_ZEBRA) nh->state = STATIC_START; static_nht_update(&rn->p, &nhtd->nh, nhtd->nh_num, afi, si->safi, nh->nh_vrf_id);