diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 23:15:09 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-04-16 12:53:00 +0200 |
| commit | 243895805abcd27cc23f784c0b42036197fa1c3c (patch) | |
| tree | b1cbf49040a4a5ce981ef84541cd8ad30384d4d4 /lib/routemap_cli.c | |
| parent | 612c2c15d86e0e5c7e35f1a9a1491f90f365b93c (diff) | |
*: move CLI parent data to cmd_node->parent_node
Same as before, instead of shoving this into a big central list we can
just put the parent node in cmd_node.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/routemap_cli.c')
| -rw-r--r-- | lib/routemap_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index b97948d5c6..16ecd11941 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -1067,6 +1067,7 @@ static int route_map_config_write(struct vty *vty) static int route_map_config_write(struct vty *vty); static struct cmd_node rmap_node = { .node = RMAP_NODE, + .parent_node = CONFIG_NODE, .prompt = "%s(config-route-map)# ", .config_write = route_map_config_write, }; |
