Skip to content

Commit 93b68f6

Browse files
authored
Merge pull request FRRouting#16006 from pguibert6WIND/fix_colored_nexthop_2
bgpd: fix colored routes not installed after a switchover
2 parents a243fc2 + e265b16 commit 93b68f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bgpd/bgp_nht.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -978,8 +978,7 @@ void bgp_nexthop_update(struct vrf *vrf, struct prefix *match,
978978
frr_each (bgp_nexthop_cache, &bgp->nexthop_cache_table[afi],
979979
bnc_iter) {
980980
if (!prefix_same(match, &bnc_iter->prefix) ||
981-
bnc_iter->srte_color == 0 ||
982-
CHECK_FLAG(bnc_iter->flags, BGP_NEXTHOP_VALID))
981+
bnc_iter->srte_color == 0)
983982
continue;
984983

985984
bgp_process_nexthop_update(bnc_iter, nhr, false);

0 commit comments

Comments
 (0)