diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-06 12:31:00 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:08 +0200 |
commit | fabe468dd47ffd72a3ff2b6387422d304b178665 (patch) | |
tree | a7e2e1ec73a1075ba980d4e916284e41a2e0530e /openbsc/src/osmo-bsc/osmo_bsc_sigtran.c | |
parent | 926f84a2a33432091fffc22a6166fbb6df2920e5 (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.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_sigtran.c')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_sigtran.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c b/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c index b95ec9ddc..bcd294620 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/openbsc/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); |