mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:09:17 +00:00
bgpd: Allow sending extended communities between OAD peers
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
09e2a362a3
commit
e53bd69326
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user