summaryrefslogtreecommitdiffstats
path: root/lib/keychain.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-03-22 10:38:22 +0100
committerQuentin Young <qlyoung@users.noreply.github.com>2017-03-28 21:48:07 +0200
commit505e50567f48a5b969f13bedad5bcddb845d8fb3 (patch)
tree4c0441c9780dc36bb3c200fa8d801929c28014a1 /lib/keychain.c
parentMerge pull request #292 from donaldsharp/sgrpt_prune (diff)
downloadfrr-505e50567f48a5b969f13bedad5bcddb845d8fb3.tar.xz
frr-505e50567f48a5b969f13bedad5bcddb845d8fb3.zip
*: apply DEFUN_NOSH for node-switch CLI commands
These have copies in vtysh that do the node-switch locally and are listed in extract.pl's ignore list. The ignore list however is redundant since DEFUN_NOSH does the same thing... ldpd is a bit hacky, but Renato is reworking this anyway. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/keychain.c')
-rw-r--r--lib/keychain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keychain.c b/lib/keychain.c
index cd8039b95..95a2c8e59 100644
--- a/lib/keychain.c
+++ b/lib/keychain.c
@@ -240,7 +240,7 @@ key_delete (struct keychain *keychain, struct key *key)
key_free (key);
}
-DEFUN (key_chain,
+DEFUN_NOSH (key_chain,
key_chain_cmd,
"key chain WORD",
"Authentication key management\n"
@@ -280,7 +280,7 @@ DEFUN (no_key_chain,
return CMD_SUCCESS;
}
-DEFUN (key,
+DEFUN_NOSH (key,
key_cmd,
"key (0-2147483647)",
"Configure a key\n"