From 249a771b63505b24d2a8c05158d7692384811533 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 8 Sep 2018 22:00:24 +0200 Subject: *: 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 --- ripngd/ripng_debug.c | 1 - ripngd/ripng_interface.c | 1 - ripngd/ripngd.c | 1 - 3 files changed, 3 deletions(-) (limited to 'ripngd') diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c index fe4ec256b..24da4b005 100644 --- a/ripngd/ripng_debug.c +++ b/ripngd/ripng_debug.c @@ -178,7 +178,6 @@ DEFUN (no_debug_ripng_zebra, static struct cmd_node debug_node = { .node = DEBUG_NODE, .prompt = "", - .vtysh = 1, }; static int config_write_debug(struct vty *vty) diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index d322a6ddb..3fac88514 100644 --- a/ripngd/ripng_interface.c +++ b/ripngd/ripng_interface.c @@ -958,7 +958,6 @@ static int interface_config_write(struct vty *vty) static struct cmd_node interface_node = { .node = INTERFACE_NODE, .prompt = "%s(config-if)# ", - .vtysh = 1, }; /* Initialization of interface. */ diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 12f8b268f..ad40c0b13 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2438,7 +2438,6 @@ static int ripng_config_write(struct vty *vty) static struct cmd_node cmd_ripng_node = { .node = RIPNG_NODE, .prompt = "%s(config-router)# ", - .vtysh = 1, }; static void ripng_distribute_update(struct distribute_ctx *ctx, -- cgit v1.2.3