Skip to content

Commit

Permalink
Merge pull request FRRouting#16006 from pguibert6WIND/fix_colored_nex…
Browse files Browse the repository at this point in the history
…thop_2

bgpd: fix colored routes not installed after a switchover
  • Loading branch information
riw777 authored May 14, 2024
2 parents a243fc2 + e265b16 commit 93b68f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bgpd/bgp_nht.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,7 @@ void bgp_nexthop_update(struct vrf *vrf, struct prefix *match,
frr_each (bgp_nexthop_cache, &bgp->nexthop_cache_table[afi],
bnc_iter) {
if (!prefix_same(match, &bnc_iter->prefix) ||
bnc_iter->srte_color == 0 ||
CHECK_FLAG(bnc_iter->flags, BGP_NEXTHOP_VALID))
bnc_iter->srte_color == 0)
continue;

bgp_process_nexthop_update(bnc_iter, nhr, false);
Expand Down

0 comments on commit 93b68f6

Please sign in to comment.