aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-19 19:06:06 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-21 11:11:09 +0200
commit2c90899bc4386d4e5dae41e098b17e87cae99e42 (patch)
treeec60c62b533095edbf4d287aa66efe030035f537 /src/gprs/sgsn_main.c
parent1aaeea490029264062406ccf1afd25e87dfd0e2e (diff)
vty: Introduce cs7-instance-iu
Similar to what we already have in osmo-msc. Change-Id: Iaa9e1d06dd0430848ef4f7498a3c15d13f899904
Diffstat (limited to 'src/gprs/sgsn_main.c')
-rw-r--r--src/gprs/sgsn_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index 5979886bf..4232e2384 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -500,7 +500,9 @@ int main(int argc, char **argv)
#if BUILD_IU
/* Note that these are mostly defaults and can be overriden from the VTY */
- sccp = osmo_sccp_simple_client_on_ss7_id(tall_sgsn_ctx, 0, "OsmoSGSN",
+ sccp = osmo_sccp_simple_client_on_ss7_id(tall_sgsn_ctx,
+ sgsn->cfg.iu.cs7_instance,
+ "OsmoSGSN",
(23 << 3) + 4,
OSMO_SS7_ASP_PROT_M3UA,
0, NULL,