aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/hnb-test.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 32f4ba8..4687d34 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -268,9 +268,10 @@ int hnb_test_nas_rx_lu_accept(struct gsm48_hdr *gh, int len, int *sent_tmsi)
lai = (struct gsm48_loc_area_id *)&gh->data[0];
uint16_t mcc, mnc, lac;
- gsm48_decode_lai(lai, &mcc, &mnc, &lac);
- printf("LU: mcc %hd mnc %hd lac %hd\n",
- mcc, mnc, lac);
+ bool mnc_3_digits;
+ gsm48_decode_lai2(lai, &mcc, &mnc, &mnc_3_digits, &lac);
+ printf("LU: mcc %s mnc %s lac %hd\n",
+ osmo_mcc_name(mcc), osmo_mnc_name(mnc, mnc_3_digits), lac);
struct tlv_parsed tp;
int parse_res;