diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-17 12:44:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-17 12:44:24 +0200 |
| commit | 705e6f881b34079a0e87452961b02011a5f1e044 (patch) | |
| tree | 217ae25a107b94139ec14ae1c639ba7c6487ff75 /lib/routemap_cli.c | |
| parent | acc3cfe3349696be4d06137328c48e4ae97adc4a (diff) | |
| parent | bd4b8c3dac91a94622cf95ec5e20c3b689185371 (diff) | |
Merge pull request #17836 from pguibert6WIND/limit_comm_list_count
limit community list count
Diffstat (limited to 'lib/routemap_cli.c')
| -rw-r--r-- | lib/routemap_cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index 69b942064b..eb01709707 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -810,6 +810,10 @@ 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:list-name")); + } else if (IS_MATCH_COMMUNITY_LIMIT(condition)) { + vty_out(vty, " match community-limit %s\n", + yang_dnode_get_string(dnode, + "./rmap-match-condition/frr-bgp-route-map:community-limit")); } else if (IS_MATCH_COMMUNITY(condition)) { vty_out(vty, " match community %s", yang_dnode_get_string( |
