aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_sccp.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_sccp.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_sccp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_sccp.c b/openbsc/src/osmo-bsc/osmo_bsc_sccp.c
index f4cdf3637..c17690831 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_sccp.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_sccp.c
@@ -137,9 +137,10 @@ static void sccp_cc_timeout(void *_data)
bsc_sccp_force_free(data);
}
-static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg, void *data)
+static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg,
+ void *global_ctx, void *ctx)
{
- struct gsm_network *net = (struct gsm_network *) data;
+ struct gsm_network *net = (struct gsm_network *) global_ctx;
msc_queue_write(net->msc_data->msc_con, msg, IPAC_PROTO_SCCP);
}