summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gtphub_vty.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-29 23:50:45 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 11:43:40 +0100
commit817bc32696422ac4662b4b706c6e03961e45257b (patch)
treeb1edc68d3248286ec55130f6d9d85fe8c1d3e7c0 /openbsc/src/gprs/gtphub_vty.c
parenta9905a51f96acdddf761d0b3e4c21ac0711b57ae (diff)
gtphub: vty: add missing SGSN-proxy output.
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/src/gprs/gtphub_vty.c')
-rw-r--r--openbsc/src/gprs/gtphub_vty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gtphub_vty.c b/openbsc/src/gprs/gtphub_vty.c
index e79cdd00e..204d1deeb 100644
--- a/openbsc/src/gprs/gtphub_vty.c
+++ b/openbsc/src/gprs/gtphub_vty.c
@@ -87,6 +87,12 @@ static int config_write_gtphub(struct vty *vty)
&g_cfg->to_gsns[GTPH_SIDE_GGSN][GTPH_PLANE_CTRL].bind,
&g_cfg->to_gsns[GTPH_SIDE_GGSN][GTPH_PLANE_USER].bind);
+ if (g_cfg->proxy[GTPH_SIDE_SGSN][GTPH_PLANE_CTRL].addr_str) {
+ write_addrs(vty, "sgsn-proxy",
+ &g_cfg->proxy[GTPH_SIDE_SGSN][GTPH_PLANE_CTRL],
+ &g_cfg->proxy[GTPH_SIDE_SGSN][GTPH_PLANE_USER]);
+ }
+
if (g_cfg->proxy[GTPH_SIDE_GGSN][GTPH_PLANE_CTRL].addr_str) {
write_addrs(vty, "ggsn-proxy",
&g_cfg->proxy[GTPH_SIDE_GGSN][GTPH_PLANE_CTRL],