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:
Jacob Erlbeck 2014-08-28 13:47:53 +02:00
parent c1c57d3a26
commit 25f98e618a
1 changed files with 8 additions and 0 deletions

View File

@ -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);