Change in ...osmo-sgsn[master]: gprs_gmm.c: Use osmo_rai_name() in log line

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Wed Aug 21 09:07:46 UTC 2019


pespin has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15224 )

Change subject: gprs_gmm.c: Use osmo_rai_name() in log line
......................................................................

gprs_gmm.c: Use osmo_rai_name() in log line

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

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



diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index f7aff73..dccec2b 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -1827,9 +1827,8 @@
 	{
 		/* We cannot use the mmctx */
 		LOGMMCTXP(LOGL_INFO, mmctx,
-			"The MM context cannot be used, RA: %03d-%0*d-%d-%d\n",
-			mmctx->ra.mcc, mmctx->ra.mnc_3_digits, mmctx->ra.mnc,
-			mmctx->ra.lac, mmctx->ra.rac);
+			"The MM context cannot be used, RA: %s\n",
+			osmo_rai_name(&mmctx->ra));
 		/* mmctx is set to NULL and gprs_llgmm_unassign(llme) will be
 		   called below, let's make sure we don't keep dangling llme
 		   pointers in mmctx (OS#3957). */

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ieab9b7696c93de9a5d3d42f614072a6f2181e37d
Gerrit-Change-Number: 15224
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
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/20190821/2868da49/attachment.htm>


More information about the gerrit-log mailing list