summaryrefslogtreecommitdiffstats
path: root/ripngd
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 /ripngd
parent*: clean up cmd_node initializers (diff)
downloadfrr-249a771b63505b24d2a8c05158d7692384811533.tar.xz
frr-249a771b63505b24d2a8c05158d7692384811533.zip
*: 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 'ripngd')
-rw-r--r--ripngd/ripng_debug.c1
-rw-r--r--ripngd/ripng_interface.c1
-rw-r--r--ripngd/ripngd.c1
3 files changed, 0 insertions, 3 deletions
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,