mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gbproxy: Add missing commands to VTY write
Currently the new command acquire-imsi and secondary-sgsn are not included into the write command's output. This is fixed by this commit. Sponsored-by: On-Waves ehf
This commit is contained in:
@@ -109,6 +109,14 @@ static int config_write_gbproxy(struct vty *vty)
|
||||
vty_out(vty, " patch-ptmsi%s",
|
||||
VTY_NEWLINE);
|
||||
|
||||
if (g_cfg->acquire_imsi > 0)
|
||||
vty_out(vty, " acquire-imsi%s",
|
||||
VTY_NEWLINE);
|
||||
|
||||
if (g_cfg->route_to_sgsn2)
|
||||
vty_out(vty, " secondary-sgsn nsei %u%s", g_cfg->nsip_sgsn2_nsei,
|
||||
VTY_NEWLINE);
|
||||
|
||||
if (g_cfg->tlli_max_age > 0)
|
||||
vty_out(vty, " tlli-list max-age %d%s",
|
||||
g_cfg->tlli_max_age, VTY_NEWLINE);
|
||||
|
Reference in New Issue
Block a user