summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-09 00:15:50 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:59 +0200
commitf4b8291fcbcfb16c23d07c60d4669afaf396dbea (patch)
tree3b121c1e3ac8dc7a2d67ca965f4c8e4546e404c1 /lib/routemap_cli.c
parent243895805abcd27cc23f784c0b42036197fa1c3c (diff)
*: move CLI node names to cmd_node->name
And again for the name. Why on earth would we centralize this, just so people can forget to update it? Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/routemap_cli.c')
-rw-r--r--lib/routemap_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c
index 16ecd11941..2c45f09751 100644
--- a/lib/routemap_cli.c
+++ b/lib/routemap_cli.c
@@ -1066,6 +1066,7 @@ static int route_map_config_write(struct vty *vty)
/* Route map node structure. */
static int route_map_config_write(struct vty *vty);
static struct cmd_node rmap_node = {
+ .name = "routemap",
.node = RMAP_NODE,
.parent_node = CONFIG_NODE,
.prompt = "%s(config-route-map)# ",