diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-02 22:27:55 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-18 14:14:52 +0300 | 
| commit | bb4dcdd13e08a394262e14599278d5c11d7fb197 (patch) | |
| tree | da09a043fc17083ee1eb3f1ba3e62bc5f6d7b40b /lib/routemap.h | |
| parent | 2f2372ce9eaf7da58e75c0c6011b9d0a771cf090 (diff) | |
bgpd: Add an ability to set extcommunity to none in route-maps
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/routemap.h')
| -rw-r--r-- | lib/routemap.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index 4445085001..4c7e46a6c7 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -350,6 +350,8 @@ DECLARE_QOBJ_TYPE(route_map);  	(strmatch(A, "frr-bgp-route-map:set-large-community"))  #define IS_SET_COMMUNITY(A)                                                    \  	(strmatch(A, "frr-bgp-route-map:set-community")) +#define IS_SET_EXTCOMMUNITY_NONE(A)                                            \ +	(strmatch(A, "frr-bgp-route-map:set-extcommunity-none"))  #define IS_SET_EXTCOMMUNITY_RT(A)                                              \  	(strmatch(A, "frr-bgp-route-map:set-extcommunity-rt"))  #define IS_SET_EXTCOMMUNITY_SOO(A)                                             \  | 
