summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2021-07-22 08:30:15 -0400
committerGitHub <noreply@github.com>2021-07-22 08:30:15 -0400
commit0775caa958c89f27617745b8bae725bcae10224e (patch)
treed1c7f5c706ace522ff9decd58ef3d8f70c4feceb /lib/routemap_cli.c
parent9fbbcbeb1fe936a30c33eed9fffca9087fce8c5e (diff)
parent80dd0954c9b7fc29a62021cc8ab82a287689cc3e (diff)
Merge pull request #9082 from ton31337/feature/bgp_alias_route-map_match
bgpd: `match alias` for route-map
Diffstat (limited to 'lib/routemap_cli.c')
-rw-r--r--lib/routemap_cli.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c
index bf982cfa2b..ec9033b3aa 100644
--- a/lib/routemap_cli.c
+++ b/lib/routemap_cli.c
@@ -634,6 +634,11 @@ void route_map_condition_show(struct vty *vty, struct lyd_node *dnode,
yang_dnode_get_string(
dnode,
"./rmap-match-condition/frr-bgp-route-map:local-preference"));
+ } else if (IS_MATCH_ALIAS(condition)) {
+ vty_out(vty, " match alias %s\n",
+ yang_dnode_get_string(
+ dnode,
+ "./rmap-match-condition/frr-bgp-route-map:alias"));
} else if (IS_MATCH_ORIGIN(condition)) {
vty_out(vty, " match origin %s\n",
yang_dnode_get_string(