diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-06 12:31:00 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-12 23:42:46 +0200 |
commit | 813a230b551a88412981e738184b170a36168041 (patch) | |
tree | 5bdfa1d5e598d80c211e908e9a1c9440138bde07 /src/osmo-bsc/osmo_bsc_sigtran.c | |
parent | 5f799ae2672628daacf87485dce6d91d63f2da5b (diff) |
sccp: Use osmo-stp instead of direct server/client connection
This patch adjusts the code to use osmo-stp. This is only an
intermediate solution, since we still have hardcoded parameter.
Next step is to use the VTY options from libosmo-sigtran to
issue the configurations.
Change-Id: I2b02bf159051beed6ff3afc66fcfb7a30e8d2541
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_sigtran.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_sigtran.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c index b95ec9ddc..bcd294620 100644 --- a/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/src/osmo-bsc/osmo_bsc_sigtran.c @@ -311,7 +311,6 @@ int osmo_bsc_sigtran_del_conn(struct osmo_bsc_sccp_con *sccp) int osmo_bsc_sigtran_init(struct llist_head *mscs) { /* FIXME: Remove hardcoded IP-Addresses */ - /* FIXME: Use STP! */ struct bsc_msc_data *msc; char msc_name[256]; @@ -328,7 +327,7 @@ int osmo_bsc_sigtran_init(struct llist_head *mscs) /* SCCP Protocol stack */ msc->msc_con->sccp = osmo_sccp_simple_client(NULL, msc_name, msc->msc_con->g_calling_addr.pc, - OSMO_SS7_ASP_PROT_M3UA, 0, NULL, M3UA_PORT, "127.0.0.2"); + OSMO_SS7_ASP_PROT_M3UA, 0, NULL, M3UA_PORT, "127.0.0.1"); msc->msc_con->sccp_user = osmo_sccp_user_bind(msc->msc_con->sccp, msc_name, sccp_sap_up, SCCP_SSN_BSSAP); |