Daniel Willmann has uploaded this change for review. ( 
https://gerrit.osmocom.org/13460


Change subject: bsc-nat: Use id when creating components
......................................................................

bsc-nat: Use id when creating components

Change-Id: I2c130d74405cef2b9aa1f9c0a2122fd70aa9cc62
---
M bsc-nat/BSCNAT_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/60/13460/1

diff --git a/bsc-nat/BSCNAT_Tests.ttcn b/bsc-nat/BSCNAT_Tests.ttcn
index 685066c..993d668 100644
--- a/bsc-nat/BSCNAT_Tests.ttcn
+++ b/bsc-nat/BSCNAT_Tests.ttcn
@@ -107,8 +107,8 @@

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

--
To view, visit https://gerrit.osmocom.org/13460
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c130d74405cef2b9aa1f9c0a2122fd70aa9cc62
Gerrit-Change-Number: 13460
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Willmann <dwillm...@sysmocom.de>

Reply via email to