diff options
| author | vishaldhingra <vdhingra@vmware.com> | 2019-05-07 20:31:39 -0700 | 
|---|---|---|
| committer | vishaldhingra <vdhingra@vmware.com> | 2019-05-18 09:15:45 -0700 | 
| commit | a78ba1c3841d4bf032cfce9d0f6cad863ae36142 (patch) | |
| tree | c0103986e36e993813c5c2bd149ef60b2732338c /bgpd/bgp_updgrp.h | |
| parent | 84cdd5b375bb53fdcb25e3e9989af526cfa9983f (diff) | |
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.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_updgrp.h b/bgpd/bgp_updgrp.h index 39e67bf608..bb547454f2 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          \  | 
