summaryrefslogtreecommitdiffstats
path: root/lib/ns.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/ns.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/ns.c')
-rw-r--r--lib/ns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ns.c b/lib/ns.c
index 1673ac0a6..ae0a24668 100644
--- a/lib/ns.c
+++ b/lib/ns.c
@@ -304,7 +304,7 @@ ns_netns_pathname (struct vty *vty, const char *name)
return pathname;
}
-DEFUN (ns_netns,
+DEFUN_NOSH (ns_netns,
ns_netns_cmd,
"logical-router (1-65535) ns NAME",
"Enable a logical-router\n"