From: vishaldhingra Date: Wed, 8 May 2019 03:31:39 +0000 (-0700) Subject: bgpd : no neighbor <> send-community large is not working dynamically X-Git-Tag: base_7.2~324^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a78ba1c3841d4bf032cfce9d0f6cad863ae36142;p=matthieu%2Ffrr.git 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 --- 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 \