diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 22:42:18 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 23:01:08 +0200 |
commit | 1ea8dbec908f26e51a8864ba210a503be23e9005 (patch) | |
tree | f1bbcd5491c170dae62be387d532cf213f2479aa /openbsc/src/vty | |
parent | 575b89585f7fa7cb4104eeb9f853561af16603d3 (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')
-rw-r--r-- | openbsc/src/vty/command.c | 3 |
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; } |