<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17655">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BTS: fix as_l1_count_paging(): use ispresent() instead of isvalue()<br><br>We actually need to check if a MI is present, i.e. not omit.<br><br>  ispresent(omit) => false<br>  isvalue(omit)   => true<br><br>Change-Id: I0e24e2aaa1f0da7ffdbc93ea4a19491e5dfb39b4<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/17655/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn</span><br><span>index 9534a8b..a2b4af7 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -2869,7 +2869,7 @@</span><br><span>               if (match(rr, tr_PAGING_REQ1)) {</span><br><span>                     num_paging_rcv_msgs := num_paging_rcv_msgs + 1;</span><br><span>                      num_paging_rcv_ids := num_paging_rcv_ids + 1;</span><br><span style="color: hsl(0, 100%, 40%);">-                   if (isvalue(rr.msgs.rrm.pagingReq_Type1.mobileIdentity2)) {</span><br><span style="color: hsl(120, 100%, 40%);">+                   if (ispresent(rr.msgs.rrm.pagingReq_Type1.mobileIdentity2)) {</span><br><span>                                num_paging_rcv_ids := num_paging_rcv_ids + 1;</span><br><span>                        }</span><br><span>            } else if (match(rr, tr_PAGING_REQ2)) {</span><br><span>@@ -2880,7 +2880,7 @@</span><br><span>                      if (not tmsi_is_dummy(rr.msgs.rrm.pagingReq_Type2.mobileIdentity2)) {</span><br><span>                                num_paging_rcv_ids := num_paging_rcv_ids + 1;</span><br><span>                        }</span><br><span style="color: hsl(0, 100%, 40%);">-                       if (isvalue(rr.msgs.rrm.pagingReq_Type2.mobileIdentity3)) {</span><br><span style="color: hsl(120, 100%, 40%);">+                   if (ispresent(rr.msgs.rrm.pagingReq_Type2.mobileIdentity3)) {</span><br><span>                                num_paging_rcv_ids := num_paging_rcv_ids + 1;</span><br><span>                        }</span><br><span>            } else if (match(rr, tr_PAGING_REQ3)) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17655">change 17655</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17655"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0e24e2aaa1f0da7ffdbc93ea4a19491e5dfb39b4 </div>
<div style="display:none"> Gerrit-Change-Number: 17655 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>