diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-04-10 12:34:47 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-04-22 16:50:08 +0200 |
commit | e53bd693263792f45554b8b20a9264d6c518ad86 (patch) | |
tree | 52283394c565a939a42238a5511cb5924bb250ac /bgpd/bgp_attr.c | |
parent | bgpd: Implement draft-li-idr-link-bandwidth-ext-01 (diff) | |
download | frr-e53bd693263792f45554b8b20a9264d6c518ad86.tar.xz frr-e53bd693263792f45554b8b20a9264d6c518ad86.zip |
bgpd: Allow sending extended communities between OAD peers
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_attr.c')
-rw-r--r-- | bgpd/bgp_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index b57a142d8..7cd8e557b 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -4357,7 +4357,7 @@ static void bgp_packet_ecommunity_attribute(struct stream *s, struct peer *peer, bool transparent, int attribute) { if (peer->sort == BGP_PEER_IBGP || peer->sort == BGP_PEER_CONFED || - transparent) { + peer->sub_sort == BGP_PEER_EBGP_OAD || transparent) { if (ecomm->size * ecomm->unit_size > 255) { stream_putc(s, BGP_ATTR_FLAG_OPTIONAL | BGP_ATTR_FLAG_TRANS | |