From 505e50567f48a5b969f13bedad5bcddb845d8fb3 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 22 Mar 2017 10:38:22 +0100 Subject: *: 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 --- zebra/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra') diff --git a/zebra/interface.c b/zebra/interface.c index 9abb54cec..e9c54a629 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1697,7 +1697,7 @@ link_param_cmd_unset (struct interface *ifp, uint32_t type) zebra_interface_parameters_update (ifp); } -DEFUN (link_params, +DEFUN_NOSH (link_params, link_params_cmd, "link-params", LINK_PARAMS_STR) @@ -1708,7 +1708,7 @@ DEFUN (link_params, return CMD_SUCCESS; } -DEFUN (exit_link_params, +DEFUN_NOSH (exit_link_params, exit_link_params_cmd, "exit-link-params", "Exit from Link Params configuration mode\n") -- cgit v1.2.3