Change in osmo-ttcn3-hacks[master]: sgsn: Fix f_cellid_to_RAI

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Feb 13 08:15:31 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22881 )

Change subject: sgsn: Fix f_cellid_to_RAI
......................................................................

sgsn: Fix f_cellid_to_RAI

Change-Id: I4f6d609119b4a9e211fb1b285e4fc3e42d8ebdb6
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 7d47a1f..4c0a8ab 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -236,8 +236,8 @@
                 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;
 };

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22881
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4f6d609119b4a9e211fb1b285e4fc3e42d8ebdb6
Gerrit-Change-Number: 22881
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210213/99802562/attachment.htm>


More information about the gerrit-log mailing list