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
This commit is contained in:
Harald Welte 2019-05-10 00:42:33 +02:00
parent b78179968f
commit 03d4e2b8f2
1 changed files with 1 additions and 1 deletions

View File

@ -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;