aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-25 15:54:45 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-25 15:54:45 +0100
commit183e6c3367a7a31fcfd7511cea4b890f8314b71f (patch)
tree16e6fa671dc2099fbf25ade99258c30615502922 /src
parent8de4be261d2fd7d9552926090a2c2b2ed71dcde8 (diff)
ranap: log ranap iu event type name instead of number
Diffstat (limited to 'src')
-rw-r--r--src/sgsn/gprs_ranap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sgsn/gprs_ranap.c b/src/sgsn/gprs_ranap.c
index 1f8ed97d..2d2d3aa3 100644
--- a/src/sgsn/gprs_ranap.c
+++ b/src/sgsn/gprs_ranap.c
@@ -120,7 +120,8 @@ int sgsn_ranap_iu_event(struct ranap_ue_conn_ctx *ctx, enum ranap_iu_event_type
mm = sgsn_mm_ctx_by_ue_ctx(ctx);
if (!mm) {
- LOGIUP(ctx, LOGL_NOTICE, "Cannot find mm ctx for IU event %d\n", type);
+ LOGIUP(ctx, LOGL_NOTICE, "Cannot find mm ctx for IU event %s\n",
+ ranap_iu_event_type_str(type));
ranap_iu_free_ue(ctx);
return rc;
}