aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-18 01:52:16 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-30 14:12:37 +0200
commit6c809185ee86d318d10205756bb6d91914d11fdf (patch)
treeb3a0c66f373a6b81d0b34a7f133430edfeb126b0
parentc7b761f3038ed74496d0f0a13eb0bf4daec07525 (diff)
add msg type to SMS rx logging
-rw-r--r--src/libmsc/gsm_04_11.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libmsc/gsm_04_11.c b/src/libmsc/gsm_04_11.c
index c5bcce75..574fe281 100644
--- a/src/libmsc/gsm_04_11.c
+++ b/src/libmsc/gsm_04_11.c
@@ -917,7 +917,9 @@ int gsm0411_rcv_sms(struct gsm_subscriber_connection *conn,
return -EIO;
/* FIXME: send some error message */
- DEBUGP(DLSMS, "receiving data (trans_id=%x)\n", transaction_id);
+ DEBUGP(DLSMS, "receiving data (trans_id=%x, msg_type=%s)\n", transaction_id,
+ gsm48_pdisc_msgtype_name(gsm48_hdr_pdisc(gh), gsm48_hdr_msg_type(gh)));
+
trans = trans_find_by_id(conn, GSM48_PDISC_SMS, transaction_id);
/*