mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 08:32:12 +00:00
Merge pull request #16388 from FRRouting/mergify/bp/stable/10.0/pr-16373
staticd: fix missing static routes (backport #16373)
This commit is contained in:
commit
0037fb4987
@ -341,7 +341,8 @@ void static_zebra_nht_register(struct static_nexthop *nh, bool reg)
|
|||||||
/* refresh with existing data */
|
/* refresh with existing data */
|
||||||
afi_t afi = prefix_afi(&lookup.nh);
|
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;
|
nh->state = STATIC_START;
|
||||||
static_nht_update(&rn->p, &nhtd->nh, nhtd->nh_num, afi,
|
static_nht_update(&rn->p, &nhtd->nh, nhtd->nh_num, afi,
|
||||||
si->safi, nh->nh_vrf_id);
|
si->safi, nh->nh_vrf_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user