aboutsummaryrefslogtreecommitdiffstats
path: root/src/sgsn/gprs_gmm.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-25 16:03:02 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-25 16:03:05 +0100
commitc8ace5a03c60d084735bf14b29f447e30da03924 (patch)
tree0d969c230f0baacf91d2cda233d8a001773cfe87 /src/sgsn/gprs_gmm.c
parent183e6c3367a7a31fcfd7511cea4b890f8314b71f (diff)
gmm: log GMM msg type name instead of number
Diffstat (limited to 'src/sgsn/gprs_gmm.c')
-rw-r--r--src/sgsn/gprs_gmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c
index 2367338a..2ba6d085 100644
--- a/src/sgsn/gprs_gmm.c
+++ b/src/sgsn/gprs_gmm.c
@@ -2111,9 +2111,9 @@ int gsm0408_rcv_gmm(struct sgsn_mm_ctx *mmctx, struct msgb *msg,
null_mmctx:
LOGGBIUP(llme, msg, LOGL_ERROR,
- "Received GSM 04.08 message type 0x%02x,"
+ "Received GSM 04.08 message type %s,"
" but no MM context available\n",
- gh->msg_type);
+ get_value_string(gprs_msgt_gmm_names, gh->msg_type));
return -EINVAL;
}