aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-15 15:29:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-20 17:48:47 +0200
commit99bd9d31392507d3f82aa93e9598d880ce586479 (patch)
treeef5eee343c5597344d1db68d74260828975179ff
parent39cbecd273b16d72dd7b4aa8b307e5d4bc643474 (diff)
gprs_gmm.c: Use osmo_rai_name() in log line
-rw-r--r--src/gprs/gprs_gmm.c5
1 files changed, 2 insertions, 3 deletions
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 @@ static int gsm48_rx_gmm_ra_upd_req(struct sgsn_mm_ctx *mmctx, struct msgb *msg,
{
/* 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). */