mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 16:06:20 +00:00
Merge pull request #16373 from anlancs/zebra/fix-nexthop-synchronization
staticd: fix missing static routes
This commit is contained in:
commit
74e720c99f
@ -341,7 +341,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);
|
||||
|
Loading…
Reference in New Issue
Block a user