Change in osmo-sgsn[master]: ranap: log ranap iu event type name instead of number

pespin gerrit-no-reply at lists.osmocom.org
Thu Mar 25 16:26:59 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/23495 )

Change subject: ranap: log ranap iu event type name instead of number
......................................................................

ranap: log ranap iu event type name instead of number

Change-Id: If66e9d5989b46abe01855a5c1183d567d358abeb
---
M src/sgsn/gprs_ranap.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved



diff --git a/src/sgsn/gprs_ranap.c b/src/sgsn/gprs_ranap.c
index 1f8ed97..2d2d3aa 100644
--- a/src/sgsn/gprs_ranap.c
+++ b/src/sgsn/gprs_ranap.c
@@ -120,7 +120,8 @@
 
 	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;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/23495
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: If66e9d5989b46abe01855a5c1183d567d358abeb
Gerrit-Change-Number: 23495
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210325/acde5e0c/attachment.htm>


More information about the gerrit-log mailing list