From a3988e9cfa6c61d2e9fad5933569f96c5fc78f73 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Thu, 25 Jul 2019 11:59:27 +0300 Subject: [PATCH] vtysh: send vtysh_quit_nexthop_group to pbrd and sharpd Signed-off-by: Igor Ryzhov --- vtysh/vtysh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index f3c3215885c1..7a07dab121a4 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2211,7 +2211,7 @@ DEFUNSH(VTYSH_PBRD | VTYSH_SHARPD, vtysh_exit_nexthop_group, vtysh_exit_nexthop_ return vtysh_exit(vty); } -DEFUNSH(VTYSH_VRF, vtysh_quit_nexthop_group, vtysh_quit_nexthop_group_cmd, +DEFUNSH(VTYSH_PBRD | VTYSH_SHARPD, vtysh_quit_nexthop_group, vtysh_quit_nexthop_group_cmd, "quit", "Exit current mode and down to previous mode\n") { return vtysh_exit_nexthop_group(self, vty, argc, argv);