From 817bc32696422ac4662b4b706c6e03961e45257b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sun, 29 Nov 2015 23:50:45 +0100 Subject: gtphub: vty: add missing SGSN-proxy output. Sponsored-by: On-Waves ehi --- openbsc/src/gprs/gtphub_vty.c | 6 ++++++ 1 file changed, 6 insertions(+) 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], -- cgit v1.2.3