mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
nat: Fix navigation inside the config structure (fix exit)
Make sure exit in nat and nat/bsc is working and we go one level up.
This commit is contained in:
@@ -2370,6 +2370,15 @@ DEFUN(config_exit,
|
||||
case VTY_NODE:
|
||||
vty->node = CONFIG_NODE;
|
||||
break;
|
||||
case NAT_NODE:
|
||||
vty->node = CONFIG_NODE;
|
||||
vty->index = NULL;
|
||||
break;
|
||||
case BSC_NODE:
|
||||
vty->node = NAT_NODE;
|
||||
vty->index = NULL;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user