summaryrefslogtreecommitdiffstats
path: root/lib/vty.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/vty.c
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 'lib/vty.c')
-rw-r--r--lib/vty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 57350ea89..5b86455f6 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2992,7 +2992,6 @@ static int vty_config_write(struct vty *vty)
struct cmd_node vty_node = {
.node = VTY_NODE,
.prompt = "%s(config-line)# ",
- .vtysh = 1,
};
/* Reset all VTY status. */