summaryrefslogtreecommitdiff
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-01-19 16:40:12 +0000
committerChristian Hopps <chopps@labn.net>2024-01-26 12:34:46 -0500
commit83abe9c3cb9acd610dcdf8341374428df5ea9093 (patch)
treea55b83177da6b9f0ef907e4d8c5d97b61e6e61f5 /vtysh/vtysh.c
parentd79ca934eb4c8084324ae8a570fc68d2b861b47d (diff)
ripd: ripd convert to mgmtd
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index e86eeeb287..6d2600cd96 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2006,7 +2006,7 @@ DEFUNSH(VTYSH_KEYS, key, key_cmd, "key (0-2147483647)",
}
#ifdef HAVE_RIPD
-DEFUNSH(VTYSH_RIPD, router_rip, router_rip_cmd, "router rip [vrf NAME]",
+DEFUNSH(VTYSH_MGMTD, router_rip, router_rip_cmd, "router rip [vrf NAME]",
ROUTER_STR "RIP\n" VRF_CMD_HELP_STR)
{
vty->node = RIP_NODE;
@@ -2545,13 +2545,13 @@ DEFUNSH(VTYSH_ZEBRA, exit_srv6_encap, exit_srv6_encap_cmd, "exit",
}
#ifdef HAVE_RIPD
-DEFUNSH(VTYSH_RIPD, vtysh_exit_ripd, vtysh_exit_ripd_cmd, "exit",
+DEFUNSH(VTYSH_MGMTD, vtysh_exit_ripd, vtysh_exit_ripd_cmd, "exit",
"Exit current mode and down to previous mode\n")
{
return vtysh_exit(vty);
}
-DEFUNSH(VTYSH_RIPD, vtysh_quit_ripd, vtysh_quit_ripd_cmd, "quit",
+DEFUNSH(VTYSH_MGMTD, vtysh_quit_ripd, vtysh_quit_ripd_cmd, "quit",
"Exit current mode and down to previous mode\n")
{
return vtysh_exit_ripd(self, vty, argc, argv);