aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty/command.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 22:42:18 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 23:01:08 +0200
commit1ea8dbec908f26e51a8864ba210a503be23e9005 (patch)
treef1bbcd5491c170dae62be387d532cf213f2479aa /openbsc/src/vty/command.c
parent575b89585f7fa7cb4104eeb9f853561af16603d3 (diff)
[mgcp] Fix navigation in the vty hierachy (make exit work)
Make exit from the MGCP node work properly.
Diffstat (limited to 'openbsc/src/vty/command.c')
-rw-r--r--openbsc/src/vty/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/vty/command.c b/openbsc/src/vty/command.c
index 2faed35e4..a38ed0424 100644
--- a/openbsc/src/vty/command.c
+++ b/openbsc/src/vty/command.c
@@ -2362,6 +2362,9 @@ DEFUN(config_exit,
case VTY_NODE:
vty->node = CONFIG_NODE;
break;
+ case MGCP_NODE:
+ vty->node = CONFIG_NODE;
+ vty->index = NULL;
default:
break;
}