ranap: log ranap iu event type name instead of number

Change-Id: If66e9d5989b46abe01855a5c1183d567d358abeb
This commit is contained in:
Pau Espin 2021-03-25 15:54:45 +01:00
parent 8de4be261d
commit 183e6c3367
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}