aboutsummaryrefslogtreecommitdiffstats
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.ttcn5
1 files changed, 3 insertions, 2 deletions
diff --git a/bsc-nat/BSCNAT_Tests.ttcn b/bsc-nat/BSCNAT_Tests.ttcn
index 47d894b5..81afcfae 100644
--- a/bsc-nat/BSCNAT_Tests.ttcn
+++ b/bsc-nat/BSCNAT_Tests.ttcn
@@ -138,7 +138,7 @@ function f_init_vty(charstring id := "foo") runs on test_CT {
f_vty_transceive(BSCNATVTY, "enable");
}
-function f_init(void_fn_bsc_ms fn_bsc_ms, BssmapCreateCallback cb_msc, boolean use_osmux) runs on test_CT {
+function f_init(void_fn_bsc_ms fn_bsc_ms, void_fn_bsc fn_bsc, BssmapCreateCallback cb_msc, boolean use_osmux) runs on test_CT {
var integer i;
var charstring id;
@@ -166,7 +166,7 @@ function f_init(void_fn_bsc_ms fn_bsc_ms, BssmapCreateCallback cb_msc, boolean u
pars.sccp_addr_remote := bsc[i].sccp_addr_peer;
pars.use_osmux := use_osmux;
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, pars, fn_bsc_ms, id));
+ bsc[i].sccp_pars, pars, fn_bsc_ms, fn_bsc, id));
}
}
@@ -191,6 +191,7 @@ function f_TC_recv_dump(boolean use_osmux := false) runs on test_CT {
timer T := 30.0;
f_init(refers(bsc_ms_establish_fully),
+ refers(bsc_do_nothing),
refers(CreateCallback_establish_fully),
use_osmux);