mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[mgcp] Fix navigation in the vty hierachy (make exit work)
Make exit from the MGCP node work properly.
This commit is contained in:
@@ -2370,6 +2370,9 @@ DEFUN(config_exit,
|
|||||||
case VTY_NODE:
|
case VTY_NODE:
|
||||||
vty->node = CONFIG_NODE;
|
vty->node = CONFIG_NODE;
|
||||||
break;
|
break;
|
||||||
|
case MGCP_NODE:
|
||||||
|
vty->node = CONFIG_NODE;
|
||||||
|
vty->index = NULL;
|
||||||
case NAT_NODE:
|
case NAT_NODE:
|
||||||
vty->node = CONFIG_NODE;
|
vty->node = CONFIG_NODE;
|
||||||
vty->index = NULL;
|
vty->index = NULL;
|
||||||
|
Reference in New Issue
Block a user