summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp.h
diff options
context:
space:
mode:
authorvishaldhingra <vdhingra@vmware.com>2019-05-08 05:31:39 +0200
committervishaldhingra <vdhingra@vmware.com>2019-05-18 18:15:45 +0200
commita78ba1c3841d4bf032cfce9d0f6cad863ae36142 (patch)
treec0103986e36e993813c5c2bd149ef60b2732338c /bgpd/bgp_updgrp.h
parentMerge pull request #4357 from sworleys/Table-Null-Cov (diff)
downloadfrr-a78ba1c3841d4bf032cfce9d0f6cad863ae36142.tar.xz
frr-a78ba1c3841d4bf032cfce9d0f6cad863ae36142.zip
bgpd : no neighbor <> send-community large is not working dynamically
updgrp_hash_key_make() uses the PEER_UPDGRP_AF_FLAGS for the key. PEER_UPDGRP_AF_FLAGS contains the neigbor flags. If user do no neighbor <> send community large, then the hash key does not change and BGP does not send update for large community change. Added the PEER_FLAG_SEND_LARGE_COMMUNITY in PEER_UPDGRP_AF_FLAGS. After this the hash key gets changed and update will be processed with large community. Signed-off-by: vishaldhingra<vdhingra@vmware.com>
Diffstat (limited to 'bgpd/bgp_updgrp.h')
-rw-r--r--bgpd/bgp_updgrp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_updgrp.h b/bgpd/bgp_updgrp.h
index 39e67bf60..bb547454f 100644
--- a/bgpd/bgp_updgrp.h
+++ b/bgpd/bgp_updgrp.h
@@ -56,6 +56,7 @@
#define PEER_UPDGRP_AF_FLAGS \
(PEER_FLAG_SEND_COMMUNITY | PEER_FLAG_SEND_EXT_COMMUNITY \
+ | PEER_FLAG_SEND_LARGE_COMMUNITY \
| PEER_FLAG_DEFAULT_ORIGINATE | PEER_FLAG_REFLECTOR_CLIENT \
| PEER_FLAG_RSERVER_CLIENT | PEER_FLAG_NEXTHOP_SELF \
| PEER_FLAG_NEXTHOP_UNCHANGED | PEER_FLAG_FORCE_NEXTHOP_SELF \