summaryrefslogtreecommitdiffstats
path: root/msc/MSC_Tests.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-08-18 22:57:52 +0200
committerHarald Welte <laforge@osmocom.org>2020-08-18 23:14:16 +0200
commit4698a4c4e3823c5f177178bd5791b3abc62ffce1 (patch)
tree13755a9f0fce05818032302fceacb1c170c694d6 /msc/MSC_Tests.ttcn
parentff8a9f272d409dc1a02d618c4b0665c91d8b8bf1 (diff)
msc: Use random chosen unused local TCP port number for SMPP client
The existing code passed -1 as TCP port number to the SMPP client. This - very unintuitively - causes TITAN to always chose port number 9999, as that's the default value in IPL4asp. Let's use '0' instead. Change-Id: I4db38f4099c388bed23f9a3611619866ede9cbc5
Diffstat (limited to 'msc/MSC_Tests.ttcn')
-rw-r--r--msc/MSC_Tests.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index d59d165..5497c2d 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -210,7 +210,7 @@ function f_init_smpp(charstring id) runs on MTC_CT {
vc_SMPP := SMPP_Emulation_CT.create(id);
map(vc_SMPP:SMPP_PORT, system:SMPP_PORT);
- vc_SMPP.start(SMPP_Emulation.main_client(pars, mp_msc_ip, mp_msc_smpp_port, "", -1));
+ vc_SMPP.start(SMPP_Emulation.main_client(pars, mp_msc_ip, mp_msc_smpp_port, "", 0));
}