diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-15 15:29:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-20 17:48:47 +0200 |
commit | 99bd9d31392507d3f82aa93e9598d880ce586479 (patch) | |
tree | ef5eee343c5597344d1db68d74260828975179ff /src | |
parent | 39cbecd273b16d72dd7b4aa8b307e5d4bc643474 (diff) |
gprs_gmm.c: Use osmo_rai_name() in log line
Change-Id: Ieab9b7696c93de9a5d3d42f614072a6f2181e37d
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs/gprs_gmm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index f7aff7311..dccec2bad 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). */ |