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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Feb 12 17:48:53 UTC 2021


pespin has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/22881/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210212/97f48af7/attachment.htm>


More information about the gerrit-log mailing list