summaryrefslogtreecommitdiffstats
path: root/bsc-nat/BSCNAT_Tests.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'bsc-nat/BSCNAT_Tests.ttcn')
-rw-r--r--bsc-nat/BSCNAT_Tests.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsc-nat/BSCNAT_Tests.ttcn b/bsc-nat/BSCNAT_Tests.ttcn
index 685066ce..993d6683 100644
--- a/bsc-nat/BSCNAT_Tests.ttcn
+++ b/bsc-nat/BSCNAT_Tests.ttcn
@@ -107,8 +107,8 @@ function f_init() runs on test_CT {
for (i := 0; i < NUM_MSC; i := i+1) {
f_init_MscState(msc[i], mp_msc_pc +i, mp_bsc_pc, mp_msc_ssn, mp_bsc_ssn);
- msc[i].MSC := MSC_CT.create;
id := "MSC" & int2str(i);
+ msc[i].MSC := MSC_CT.create(id);
msc[i].MSC.start(MSC_Simulation.main(mp_msc_ip, mp_msc_port + i, msc[i].sccp_pars, msc[i].sccp_addr_own, id));
}
@@ -116,8 +116,8 @@ function f_init() runs on test_CT {
f_sleep(5.0);
for (i := 0; i < NUM_BSC; i := i+1) {
f_init_BscState(bsc[i], mp_bsc_pc +i, mp_msc_pc, mp_bsc_ssn, mp_msc_ssn);
- bsc[i].BSC := BSC_CT.create;
id := "BSC" & int2str(i);
+ bsc[i].BSC := BSC_CT.create(id);
bsc[i].BSC.start(BSC_MS_Simulation.main(mp_nat_ip, mp_nat_port, mp_bsc_ip, mp_bsc_port+i,
bsc[i].sccp_pars, bsc[i].sccp_addr_own,
bsc[i].sccp_addr_peer, id));