diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-03-31 09:34:14 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-03-31 09:39:52 +0300 |
| commit | 49ecb8b807eb429d8d09afb07b1af5e1b5408be4 (patch) | |
| tree | fcef093a68b2d13feb566d36b4ef64e7743b2849 /lib/routemap.h | |
| parent | 66da8b5ac8c143eef12b6d921b6b31eba25712ec (diff) | |
bgpd: Show `match script SCRIPT` in running config
Before:
```
route-map lua permit 10
exit
```
After:
```
route-map lua permit 10
match script rm
exit
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/routemap.h')
| -rw-r--r-- | lib/routemap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index 6c4916898a..3ef60222bf 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -276,6 +276,7 @@ DECLARE_QOBJ_TYPE(route_map); #define IS_MATCH_LOCAL_PREF(C) \ (strmatch(C, "frr-bgp-route-map:match-local-preference")) #define IS_MATCH_ALIAS(C) (strmatch(C, "frr-bgp-route-map:match-alias")) +#define IS_MATCH_SCRIPT(C) (strmatch(C, "frr-bgp-route-map:match-script")) #define IS_MATCH_ORIGIN(C) \ (strmatch(C, "frr-bgp-route-map:match-origin")) #define IS_MATCH_RPKI(C) (strmatch(C, "frr-bgp-route-map:rpki")) |
