Change in osmo-ttcn3-hacks[master]: pcu: Fix inadequate restriction on the referenced template parameter

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
Mon Feb 8 17:13:16 UTC 2021


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

Change subject: pcu: Fix inadequate restriction on the referenced template parameter
......................................................................

pcu: Fix inadequate restriction on the referenced template parameter

warning: Inadequate restriction on the referenced template parameter `imsi'

Change-Id: Iecd19d8d397e427068e495577889e1247faa11e7
---
M pcu/GPRS_Components.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/pcu/GPRS_Components.ttcn b/pcu/GPRS_Components.ttcn
index 3658fc8..830f8d3 100644
--- a/pcu/GPRS_Components.ttcn
+++ b/pcu/GPRS_Components.ttcn
@@ -1153,7 +1153,7 @@
 }
 
 /* Return true if a given Packet Paging Request contains the given IMSI, false otherwise */
-function f_pkt_paging_match_imsi(in PacketPagingReq req, template hexstring imsi,
+function f_pkt_paging_match_imsi(in PacketPagingReq req, template (present) hexstring imsi,
 				 boolean cs_domain := true, boolean ps_domain := true)
 runs on MS_BTS_IFACE_CT return boolean {
 	if (not ispresent(req.repeated_pageinfo)) {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22729
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: Iecd19d8d397e427068e495577889e1247faa11e7
Gerrit-Change-Number: 22729
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
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/20210208/4b72e8e8/attachment.htm>


More information about the gerrit-log mailing list