aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/iu.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-01-18 17:07:42 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:09 +0100
commite2a10dbe35c246075d093060398358b6f713c4a8 (patch)
treeb6e175e737b3f108055b35780afe8e605dce0c7c /openbsc/src/gprs/iu.c
parentbf30ec26e5726a8d2920a3820bfa5ead729927b7 (diff)
fix: it's called msgb.dst.
Diffstat (limited to 'openbsc/src/gprs/iu.c')
-rw-r--r--openbsc/src/gprs/iu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/iu.c b/openbsc/src/gprs/iu.c
index 0c1650d74..9e5991d94 100644
--- a/openbsc/src/gprs/iu.c
+++ b/openbsc/src/gprs/iu.c
@@ -481,7 +481,7 @@ static struct gsm_subscriber_connection *subscr_conn_lookup_iu(struct gsm_networ
}
/* Receive MM/CC message from Iu-CS (SCCP user SAP).
- * msg->dest must reference a struct ue_conn_ctx. link_id identifies the SCTP
+ * msg->dst must reference a struct ue_conn_ctx. link_id identifies the SCTP
* peer that sent the msg.
*
* For A-interface see libbsc/bsc_api.c gsm0408_rcvmsg(). */
@@ -491,7 +491,7 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t l
struct ue_conn_ctx ue_ctx;
struct gsm_subscriber_connection conn;
- ue_ctx = msg->dest;
+ ue_ctx = (struct ue_conn_ctx*)msg->dst;
/* TODO: are there message types that could allow us to skip this
* search? */