a_init: use name arg for sccp client and user bind

Change-Id: Ie281e8a486471e1d48a1444a07795e97c17627f2
This commit is contained in:
Neels Hofmeyr 2017-06-21 15:57:42 +02:00 committed by Neels Hofmeyr
parent 3a401548ce
commit 39bc234f9e
1 changed files with 2 additions and 2 deletions

View File

@ -396,9 +396,9 @@ int a_init(void *ctx, const char *name, uint32_t local_pc,
/* SCCP Protocol stack */
sccp =
osmo_sccp_simple_client(NULL, "osmo-msc", SENDER_PC, OSMO_SS7_ASP_PROT_M3UA, 0, NULL, M3UA_PORT,
osmo_sccp_simple_client(NULL, name, SENDER_PC, OSMO_SS7_ASP_PROT_M3UA, 0, NULL, M3UA_PORT,
"127.0.0.1");
osmo_sccp_user_bind(sccp, "osmo-msc", sccp_sap_up, SSN_BSSAP);
osmo_sccp_user_bind(sccp, name, sccp_sap_up, SSN_BSSAP);
return 0;
}