mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 04:54:24 +00:00
Merge pull request #16289 from FRRouting/mergify/bp/dev/10.1/pr-16273
bgpd: Relax OAD (One-Administration-Domain) for RFC8212 (backport #16273)
This commit is contained in:
commit
b43bf5aeec
@ -6342,7 +6342,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)
|
bool bgp_outbound_policy_exists(struct peer *peer, struct bgp_filter *filter)
|
||||||
{
|
{
|
||||||
if (peer->sort == BGP_PEER_IBGP)
|
if (peer->sort == BGP_PEER_IBGP || peer->sub_sort == BGP_PEER_EBGP_OAD)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (peer->sort == BGP_PEER_EBGP &&
|
if (peer->sort == BGP_PEER_EBGP &&
|
||||||
@ -6355,7 +6355,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)
|
bool bgp_inbound_policy_exists(struct peer *peer, struct bgp_filter *filter)
|
||||||
{
|
{
|
||||||
if (peer->sort == BGP_PEER_IBGP)
|
if (peer->sort == BGP_PEER_IBGP || peer->sub_sort == BGP_PEER_EBGP_OAD)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (peer->sort == BGP_PEER_EBGP
|
if (peer->sort == BGP_PEER_EBGP
|
||||||
|
Loading…
Reference in New Issue
Block a user