diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-07-22 08:30:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-22 08:30:15 -0400 |
| commit | 0775caa958c89f27617745b8bae725bcae10224e (patch) | |
| tree | d1c7f5c706ace522ff9decd58ef3d8f70c4feceb /lib/routemap_cli.c | |
| parent | 9fbbcbeb1fe936a30c33eed9fffca9087fce8c5e (diff) | |
| parent | 80dd0954c9b7fc29a62021cc8ab82a287689cc3e (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.c | 5 |
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( |
