<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13959">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RAN_Emulation: Fix IMSI table lookup on RANAP paging<br><br>We need to check explicitly for '== null'.  isvalue() is of no help<br>here, as 'null' apparently is a value in TTCN-3.<br><br>Change-Id: I4b2793937a201c5535051092d871ded6cb053f5f<br>---<br>M library/RAN_Emulation.ttcnpp<br>1 file changed, 1 insertion(+), 1 deletion(-)<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/59/13959/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp</span><br><span>index 843cc9e..9a65eb7 100644</span><br><span>--- a/library/RAN_Emulation.ttcnpp</span><br><span>+++ b/library/RAN_Emulation.ttcnpp</span><br><span>@@ -585,7 +585,7 @@</span><br><span>                      }</span><br><span>            }</span><br><span>            client := f_imsi_table_find(oct2hex(imsi), tmsi);</span><br><span style="color: hsl(0, 100%, 40%);">-               if (isvalue(client)) {</span><br><span style="color: hsl(120, 100%, 40%);">+                if (client != null) {</span><br><span>                        log("CommonRanapUnitdataCallback: IMSI/TMSI found in table, dispatching to ",</span><br><span>                              client);</span><br><span>                     CLIENT.send(ranap) to client;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13959">change 13959</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/13959"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4b2793937a201c5535051092d871ded6cb053f5f </div>
<div style="display:none"> Gerrit-Change-Number: 13959 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>