aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src')
-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 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;