From 516c4f073a4fe98c4d02fd883fd2626fa09339d2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 5 Apr 2010 22:42:18 +0200 Subject: [mgcp] Fix navigation in the vty hierachy (make exit work) Make exit from the MGCP node work properly. --- openbsc/src/vty/command.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc') diff --git a/openbsc/src/vty/command.c b/openbsc/src/vty/command.c index 8c6ad2e48..d46a1bedb 100644 --- a/openbsc/src/vty/command.c +++ b/openbsc/src/vty/command.c @@ -2370,6 +2370,9 @@ DEFUN(config_exit, case VTY_NODE: vty->node = CONFIG_NODE; break; + case MGCP_NODE: + vty->node = CONFIG_NODE; + vty->index = NULL; case NAT_NODE: vty->node = CONFIG_NODE; vty->index = NULL; -- cgit v1.2.3