summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-12 18:41:04 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-12 18:48:47 +0100
commitdeaaa90e4351bdcde3e701b1e58ba4155a1b728b (patch)
treeafb2a4df34533460b882366a5136b69e8a428e46
parentd4ed360dbfba38addee0fda155055ea1975b6bd1 (diff)
sgsn: Fix f_cellid_to_RAI
-rw-r--r--sgsn/SGSN_Tests.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 7d47a1ff..4c0a8abc 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -236,8 +236,8 @@ private function f_cellid_to_RAI(in BssgpCellId cell_id) return RoutingAreaIdent
mncDigit3 := mcc_mnc[3],
mncDigit1 := mcc_mnc[4],
mncDigit2 := mcc_mnc[5],
- lac := int2oct(cell_id.ra_id.lai.lac, 16),
- rac := int2oct(cell_id.ra_id.rac, 8)
+ lac := int2oct(cell_id.ra_id.lai.lac, 2),
+ rac := int2oct(cell_id.ra_id.rac, 1)
}
return ret;
};