aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-01-25 13:00:04 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-26 02:29:32 +0000
commit56dd9815eb4413c6100d367df2db77dde2fa6bde (patch)
treefee4dd94159c1182ec66dbdd8650928d9846924a
parent774020a8438b0e16d1bb68e2bec9ce9347272c8f (diff)
Improve an error message in page_lai_and_lac()
This error message is now contained in a loop, and the current iteration does not know whether paging will fail entirely or if later iterations will succeed. Update the error message accordingly. This also makes the error message consistent with the one in page_cgi(). Change-Id: I8ec229702343343dedcbb242b6d0ed170c858511
-rw-r--r--src/osmo-bsc/osmo_bsc_bssap.c2
-rw-r--r--tests/bssap/bssap_test.err2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 799cb46a2..67ff23037 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -412,7 +412,7 @@ page_lai_and_lac(struct bsc_msc_data *msc, const uint8_t *data, size_t data_leng
mi_string, lac);
}
} else {
- LOGP(DMSC, LOGL_DEBUG, "Not paging IMSI %s: MCC/MNC in Cell Identifier List "
+ LOGP(DMSC, LOGL_DEBUG, "Paging IMSI %s: MCC/MNC in Cell Identifier List "
"(%d/%d) do not match our network (%d/%d)\n", mi_string, mcc, mnc,
msc->network->country_code, msc->network->network_code);
}
diff --git a/tests/bssap/bssap_test.err b/tests/bssap/bssap_test.err
index abe1defc3..18bfbca7e 100644
--- a/tests/bssap/bssap_test.err
+++ b/tests/bssap/bssap_test.err
@@ -16,7 +16,7 @@ bsc_handle_udt() returned 0
2:
DMSC Rx MSC UDT: 00 19 52 08 08 59 51 20 69 00 07 43 94 09 04 01 08 44 60 1a 06 04 15 f5 49 00 65
DMSC Rx MSC UDT BSSMAP PAGING
-DMSC Not paging IMSI 515029600703449: MCC/MNC in Cell Identifier List (515/94) do not match our network (1/1)
+DMSC Paging IMSI 515029600703449: MCC/MNC in Cell Identifier List (515/94) do not match our network (1/1)
bsc_handle_udt() returned 0
3: