diff options
| author | Russ White <russ@riw.us> | 2023-10-03 08:55:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-03 08:55:30 -0400 |
| commit | d6a9c7ec8776c6d937bc51c3cd4df1c1f59b5c58 (patch) | |
| tree | 11b3cfcea5d76040b32c07bcca644283345693f3 /lib/routemap_cli.c | |
| parent | 4d087a71d3a524dd6ec17fbdf1d2b39b1569ae5f (diff) | |
| parent | 85caa21dffbe25c7da4cfe5d59db0f6106b5a3cb (diff) | |
Merge pull request #13814 from pguibert6WIND/comm_list_expanded_match_no_exact
bgpd: add match community "any" to match any incoming community
Diffstat (limited to 'lib/routemap_cli.c')
| -rw-r--r-- | lib/routemap_cli.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index a5e66880a7..20a157e955 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -729,6 +729,10 @@ void route_map_condition_show(struct vty *vty, const struct lyd_node *dnode, dnode, "./rmap-match-condition/frr-bgp-route-map:comm-list/comm-list-name-exact-match")) vty_out(vty, " exact-match"); + if (yang_dnode_get_bool( + dnode, + "./rmap-match-condition/frr-bgp-route-map:comm-list/comm-list-name-any")) + vty_out(vty, " any"); vty_out(vty, "\n"); } else if (IS_MATCH_LCOMMUNITY(condition)) { vty_out(vty, " match large-community %s", @@ -739,6 +743,10 @@ void route_map_condition_show(struct vty *vty, const struct lyd_node *dnode, dnode, "./rmap-match-condition/frr-bgp-route-map:comm-list/comm-list-name-exact-match")) vty_out(vty, " exact-match"); + if (yang_dnode_get_bool( + dnode, + "./rmap-match-condition/frr-bgp-route-map:comm-list/comm-list-name-any")) + vty_out(vty, " any"); vty_out(vty, "\n"); } else if (IS_MATCH_EXTCOMMUNITY(condition)) { vty_out(vty, " match extcommunity %s\n", |
