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-05 22:42:18 +0200 |
commit | 516c4f073a4fe98c4d02fd883fd2626fa09339d2 (patch) | |
tree | e56013fdb8ff0a8ad624c5a1ab8390e4c4175508 | |
parent | fa22aa6bbdb7b44a33dea985b8dfc6eb5c57033b (diff) |
[mgcp] Fix navigation in the vty hierachy (make exit work)
Make exit from the MGCP node work properly.
-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 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; |