From 4a541e8c23922a1dc267d38765a77b4dadb5d8de Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 1 Jun 2018 16:35:52 +0200 Subject: [PATCH] lib: make netns command visible under vtysh Make netns command visible under vtysh. Signed-off-by: Philippe Guibert --- lib/vrf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/vrf.c b/lib/vrf.c index db539d375d..5e954c07cb 100644 --- a/lib/vrf.c +++ b/lib/vrf.c @@ -710,11 +710,11 @@ DEFUN_NOSH (no_vrf, struct cmd_node vrf_node = {VRF_NODE, "%s(config-vrf)# ", 1}; -DEFUN_NOSH (vrf_netns, - vrf_netns_cmd, - "netns NAME", - "Attach VRF to a Namespace\n" - "The file name in " NS_RUN_DIR ", or a full pathname\n") +DEFUN (vrf_netns, + vrf_netns_cmd, + "netns NAME", + "Attach VRF to a Namespace\n" + "The file name in " NS_RUN_DIR ", or a full pathname\n") { int idx_name = 1, ret; char *pathname = ns_netns_pathname(vty, argv[idx_name]->arg); -- 2.39.5