summaryrefslogtreecommitdiffstats
path: root/lib/keychain.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/keychain.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/keychain.c')
-rw-r--r--lib/keychain.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/keychain.c b/lib/keychain.c
index c0af630c4..c66c1de07 100644
--- a/lib/keychain.c
+++ b/lib/keychain.c
@@ -962,13 +962,11 @@ DEFUN (no_send_lifetime,
static struct cmd_node keychain_node = {
.node = KEYCHAIN_NODE,
.prompt = "%s(config-keychain)# ",
- .vtysh = 1,
};
static struct cmd_node keychain_key_node = {
.node = KEYCHAIN_KEY_NODE,
.prompt = "%s(config-keychain-key)# ",
- .vtysh = 1,
};
static int keychain_strftime(char *buf, int bufsiz, time_t *time)