diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-24 19:38:07 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-24 19:38:07 +0300 |
| commit | af36ea8434c227efea3e130fd72429b73c5f833c (patch) | |
| tree | e90f5e2b3f2bd739ddd312eee07e55464a3266cb /lib/routemap_cli.c | |
| parent | 1b5a41b41e7a0e0edddb094a74211d978afa6b43 (diff) | |
| parent | c75d6ccbfe95d2708618ade7cc7198e46ee467dd (diff) | |
Merge pull request #10121 from ton31337/feature/match_ipv6_nexthop_prefixlist
bgpd: Add an ability to match ipv6 next-hop by prefix-list
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 552ba565b4..52fcaaba53 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -575,6 +575,10 @@ void route_map_condition_show(struct vty *vty, const struct lyd_node *dnode, vty_out(vty, " match ip next-hop prefix-list %s\n", yang_dnode_get_string( dnode, "./rmap-match-condition/list-name")); + } else if (IS_MATCH_IPv6_NEXTHOP_PREFIX_LIST(condition)) { + vty_out(vty, " match ipv6 next-hop prefix-list %s\n", + yang_dnode_get_string( + dnode, "./rmap-match-condition/list-name")); } else if (IS_MATCH_IPv6_ADDRESS_LIST(condition)) { vty_out(vty, " match ipv6 address %s\n", yang_dnode_get_string( |
