Change in osmo-sgsn[master]: gmm: log GMM msg type name instead of number

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


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

Change subject: gmm: log GMM msg type name instead of number
......................................................................

gmm: log GMM msg type name instead of number

Change-Id: I2dc6eb5bfb0f44caf2687e582d660f71fdd647a2
---
M src/sgsn/gprs_gmm.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  dexter: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved



diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c
index 2367338..2ba6d08 100644
--- a/src/sgsn/gprs_gmm.c
+++ b/src/sgsn/gprs_gmm.c
@@ -2111,9 +2111,9 @@
 
 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;
 }
 

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I2dc6eb5bfb0f44caf2687e582d660f71fdd647a2
Gerrit-Change-Number: 23496
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
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/7e556773/attachment.htm>


More information about the gerrit-log mailing list