aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-25 22:03:25 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-30 09:57:49 +0100
commit8239e063b995cda10f0b7c5d59cbdde7da9579eb (patch)
tree58e26841778d5787b3bcb67fde707923c92fcd61 /openbsc/src/gprs/gb_proxy.c
parent1da0a7e229f1d00407c04fdb4091a1f38e05d055 (diff)
gsm0408: Provide unique strings for the gsm 04.08 message
At Rhizomatica we see that some GSM 04.08 messages are leaked and have no other indication if that is Call Control, SMS or something else.
Diffstat (limited to 'openbsc/src/gprs/gb_proxy.c')
-rw-r--r--openbsc/src/gprs/gb_proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 6cad651a5..955133562 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -393,7 +393,7 @@ static void gbproxy_acquire_imsi(struct gbproxy_peer *peer,
struct msgb *idreq_msg;
/* Send IDENT REQ */
- idreq_msg = gsm48_msgb_alloc();
+ idreq_msg = gsm48_msgb_alloc_name("GSM 04.08 ACQ IMSI");
gprs_put_identity_req(idreq_msg, GSM_MI_TYPE_IMSI);
gbproxy_gsm48_to_peer(peer, link_info, bvci, idreq_msg);
}
@@ -405,7 +405,7 @@ static void gbproxy_tx_detach_acc(struct gbproxy_peer *peer,
struct msgb *detacc_msg;
/* Send DETACH ACC */
- detacc_msg = gsm48_msgb_alloc();
+ detacc_msg = gsm48_msgb_alloc_name("GSM 04.08 DET ACC");
gprs_put_mo_detach_acc(detacc_msg);
gbproxy_gsm48_to_peer(peer, link_info, bvci, detacc_msg);
}