summaryrefslogtreecommitdiff
path: root/zebra/interface.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 15:48:07 -0400
commit505e50567f48a5b969f13bedad5bcddb845d8fb3 (patch)
tree4c0441c9780dc36bb3c200fa8d801929c28014a1 /zebra/interface.c
parentff991f6102785130fff8225c5afe7a676567771e (diff)
*: 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 'zebra/interface.c')
-rw-r--r--zebra/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 9abb54cec8..e9c54a629b 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")