Skip to content

Commit

Permalink
bgpd: Use unique value for BGP_NEXTHOP_EVPN_INCOMPLETE flag
Browse files Browse the repository at this point in the history
This was reused with BGP_NEXTHOP_ULTIMATE by error.

Fixes: 93fd9cb ("bgpd: Validate imported routes next-hop that is in a default VRF")

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Jan 6, 2025
1 parent 8ca4c3d commit 0313bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_nexthop.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct bgp_nexthop_cache {
* L3 unreachable | VALID = 0 | VALID = 0
* | INCOMPLETE = 0 | INCOMPLETE = 0
*/
#define BGP_NEXTHOP_EVPN_INCOMPLETE (1 << 7)
#define BGP_NEXTHOP_EVPN_INCOMPLETE (1 << 8)

uint32_t srte_color;

Expand Down

0 comments on commit 0313bf9

Please sign in to comment.