mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-24 23:00:37 +00:00
Merge pull request #16006 from pguibert6WIND/fix_colored_nexthop_2
bgpd: fix colored routes not installed after a switchover
This commit is contained in:
commit
93b68f6128
@ -978,8 +978,7 @@ void bgp_nexthop_update(struct vrf *vrf, struct prefix *match,
|
|||||||
frr_each (bgp_nexthop_cache, &bgp->nexthop_cache_table[afi],
|
frr_each (bgp_nexthop_cache, &bgp->nexthop_cache_table[afi],
|
||||||
bnc_iter) {
|
bnc_iter) {
|
||||||
if (!prefix_same(match, &bnc_iter->prefix) ||
|
if (!prefix_same(match, &bnc_iter->prefix) ||
|
||||||
bnc_iter->srte_color == 0 ||
|
bnc_iter->srte_color == 0)
|
||||||
CHECK_FLAG(bnc_iter->flags, BGP_NEXTHOP_VALID))
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
bgp_process_nexthop_update(bnc_iter, nhr, false);
|
bgp_process_nexthop_update(bnc_iter, nhr, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user