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 --- lib/keychain.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/keychain.c') 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) -- cgit v1.2.3