aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-26 22:15:28 +0100
committerHarald Welte <laforge@gnumonks.org>2009-12-26 22:48:16 +0100
commit198d5ad6f4e3d0bfab07206a072f8ae081b70022 (patch)
tree372dd80e1824e574db8b8b8875025928016bfbeb /openbsc
parent93c628477279da35bacc2536088cff00d1e122ec (diff)
print LAC and BTS number when showing location update reject
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gsm_04_08.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 7bcfb6f22..6eeddbf90 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -829,8 +829,10 @@ int gsm0408_loc_upd_rej(struct gsm_lchan *lchan, u_int8_t cause)
gh->msg_type = GSM48_MT_MM_LOC_UPD_REJECT;
gh->data[0] = cause;
- LOGP(DMM, LOGL_INFO, "Subscriber %s: LOCATION UPDATING REJECT\n",
- lchan->subscr ? subscr_name(lchan->subscr) : "unknown");
+ LOGP(DMM, LOGL_INFO, "Subscriber %s: LOCATION UPDATING REJECT "
+ "LAC=%u BTS=%u\n", lchan->subscr ?
+ subscr_name(lchan->subscr) : "unknown",
+ lchan->ts->trx->bts->location_area_code, lchan->ts->trx->bts->nr);
counter_inc(bts->network->stats.loc_upd_resp.reject);