aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-10 00:42:33 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-10 00:45:40 +0200
commit03d4e2b8f24aea931d0b8b65437f23d220f3c01f (patch)
treeed075a2441c819cd91dfaee9dd237bf4dc1839b9
parentb78179968fea7e83a87f3a1fe7ed052ea5077614 (diff)
RAN_Emulation: Fix IMSI table lookup on RANAP paging
We need to check explicitly for '== null'. isvalue() is of no help here, as 'null' apparently is a value in TTCN-3. Change-Id: I4b2793937a201c5535051092d871ded6cb053f5f
-rw-r--r--library/RAN_Emulation.ttcnpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp
index 843cc9e1..9a65eb72 100644
--- a/library/RAN_Emulation.ttcnpp
+++ b/library/RAN_Emulation.ttcnpp
@@ -585,7 +585,7 @@ runs on RAN_Emulation_CT return template RANAP_PDU {
}
}
client := f_imsi_table_find(oct2hex(imsi), tmsi);
- if (isvalue(client)) {
+ if (client != null) {
log("CommonRanapUnitdataCallback: IMSI/TMSI found in table, dispatching to ",
client);
CLIENT.send(ranap) to client;