mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 09:00:55 +00:00
lib: make netns command visible under vtysh
Make netns command visible under vtysh. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
ef319aa3d7
commit
4a541e8c23
10
lib/vrf.c
10
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);
|
||||
|
Loading…
Reference in New Issue
Block a user