summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-28 13:47:53 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-08 09:27:41 +0200
commit25f98e618adf888b938b7c1ce4c2d08cb0a357da (patch)
treea8b1b581c66935ea01f1f36d2f3d86f05e4b5a56
parentc1c57d3a26c84c3f7eaca1b847c01ed0dcc6e473 (diff)
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
-rw-r--r--openbsc/src/gprs/gb_proxy_vty.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c
index cd16f3834..f19413339 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -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);