summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-22 15:24:33 +0200
committerGitHub <noreply@github.com>2021-11-22 15:24:33 +0200
commite59d8139ae7fc7d8998476baed58edea0cd52892 (patch)
tree96a46a42c201b0a0d4fa30262aa2e5b3a8ac5c8b /lib/routemap_cli.c
parent7b7d4134458f3209fc4446c834495fd457434e3f (diff)
parent03030106ced5cd7c8784253b489788619087dcf1 (diff)
Merge pull request #10102 from idryzhov/match-ip-nexthop
bgpd, lib: fix inconsistency of match ip/ipv6 next-hop commands
Diffstat (limited to 'lib/routemap_cli.c')
-rw-r--r--lib/routemap_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c
index d7d4a9a81f..f85be05f5e 100644
--- a/lib/routemap_cli.c
+++ b/lib/routemap_cli.c
@@ -791,12 +791,12 @@ void route_map_condition_show(struct vty *vty, const struct lyd_node *dnode,
vty_out(vty, " match extcommunity %s\n", acl);
} else if (IS_MATCH_IPV4_NH(condition)) {
- vty_out(vty, " match ip next-hop %s\n",
+ vty_out(vty, " match ip next-hop address %s\n",
yang_dnode_get_string(
dnode,
"./rmap-match-condition/frr-bgp-route-map:ipv4-address"));
} else if (IS_MATCH_IPV6_NH(condition)) {
- vty_out(vty, " match ipv6 next-hop %s\n",
+ vty_out(vty, " match ipv6 next-hop address %s\n",
yang_dnode_get_string(
dnode,
"./rmap-match-condition/frr-bgp-route-map:ipv6-address"));