diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-03-31 15:14:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-31 15:14:20 +0300 |
| commit | f979f3fd21894b663e489bdacf083547bdee3467 (patch) | |
| tree | 16c958273283bfe3e916dc11a81164b44f38af46 /lib/routemap_cli.c | |
| parent | f77f21afaf8367f48f073dcec4319550ebffa2b9 (diff) | |
| parent | 49ecb8b807eb429d8d09afb07b1af5e1b5408be4 (diff) | |
Merge pull request #10937 from opensourcerouting/fix/bgpd_rmap_match_script
bgpd: Show `match script SCRIPT` in running config
Diffstat (limited to 'lib/routemap_cli.c')
| -rw-r--r-- | lib/routemap_cli.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index 2685bd2d79..5597064d20 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -635,6 +635,11 @@ void route_map_condition_show(struct vty *vty, const struct lyd_node *dnode, yang_dnode_get_string( dnode, "./rmap-match-condition/frr-bgp-route-map:alias")); + } else if (IS_MATCH_SCRIPT(condition)) { + vty_out(vty, " match script %s\n", + yang_dnode_get_string( + dnode, + "./rmap-match-condition/frr-bgp-route-map:script")); } else if (IS_MATCH_ORIGIN(condition)) { vty_out(vty, " match origin %s\n", yang_dnode_get_string( |
