Skip to content

Commit

Permalink
Merge pull request #16322 from opensourcerouting/fix/backport_fd3e004…
Browse files Browse the repository at this point in the history
…7d389569d473685369acefd8e448e0e31_9.1

bgpd: Ignore RFC8212 for BGP Confederations
  • Loading branch information
donaldsharp authored Jul 3, 2024
2 parents fd25804 + b76885e commit 0914ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -5969,7 +5969,7 @@ void bgp_set_stale_route(struct peer *peer, afi_t afi, safi_t safi)

bool bgp_outbound_policy_exists(struct peer *peer, struct bgp_filter *filter)
{
if (peer->sort == BGP_PEER_IBGP)
if (peer->sort == BGP_PEER_CONFED || peer->sort == BGP_PEER_IBGP)
return true;

if (peer->sort == BGP_PEER_EBGP &&
Expand All @@ -5982,7 +5982,7 @@ bool bgp_outbound_policy_exists(struct peer *peer, struct bgp_filter *filter)

bool bgp_inbound_policy_exists(struct peer *peer, struct bgp_filter *filter)
{
if (peer->sort == BGP_PEER_IBGP)
if (peer->sort == BGP_PEER_CONFED || peer->sort == BGP_PEER_IBGP)
return true;

if (peer->sort == BGP_PEER_EBGP
Expand Down

0 comments on commit 0914ad1

Please sign in to comment.