aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-21 15:57:42 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:47 +0200
commitd50976669966fab0902d7a70929036d53727a3ab (patch)
tree31bd5e0387e6e766c6bb0c293b2ac7975eb2c408
parentfef402194f28c550b972e33c0bd5f6b1710c5790 (diff)
a_init: use name arg for sccp client and user bind
-rw-r--r--src/libmsc/a_iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index a5e2f720..c6b446b1 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -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;
}