summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 22:00:24 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:00 +0200
commit249a771b63505b24d2a8c05158d7692384811533 (patch)
tree20d587dfca7061a129f479e7a96208453cfc3941 /lib/routemap_cli.c
parent62b346eefa1b9e09c9372f5b6376e1bca4162015 (diff)
*: remove cmd_node->vtysh
The only nodes that have this as 0 don't have a "->func" anyway, so the entire thing is really just pointless. 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, 0 insertions, 1 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c
index b7db1d4dd5..a53c542918 100644
--- a/lib/routemap_cli.c
+++ b/lib/routemap_cli.c
@@ -1067,7 +1067,6 @@ static int route_map_config_write(struct vty *vty)
static struct cmd_node rmap_node = {
.node = RMAP_NODE,
.prompt = "%s(config-route-map)# ",
- .vtysh = 1,
};
static void rmap_autocomplete(vector comps, struct cmd_token *token)