]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd : no neighbor <> send-community large is not working dynamically 4285/head
authorvishaldhingra <vdhingra@vmware.com>
Wed, 8 May 2019 03:31:39 +0000 (20:31 -0700)
committervishaldhingra <vdhingra@vmware.com>
Sat, 18 May 2019 16:15:45 +0000 (09:15 -0700)
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>
bgpd/bgp_updgrp.h

index 39e67bf6084b7439d10b93cfdbc71e712de89f2a..bb547454f21fa55963e56e4aea1fb9fa3bc3e7f6 100644 (file)
@@ -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          \