summaryrefslogtreecommitdiffstats
path: root/bsc-nat
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-10-25 17:21:24 +0200
committerHarald Welte <laforge@gnumonks.org>2019-03-29 11:12:14 +0000
commit909523e1412fcc67866a07518fe50faf09e7563c (patch)
tree04324646de6fb69e9f32ce010e69ccdfc705a843 /bsc-nat
parent991fd78860cd58c9041fef5608ef2947232e187d (diff)
bsc-nat: Use BSCx as token for BSC no x
Diffstat (limited to 'bsc-nat')
-rw-r--r--bsc-nat/BSC_MS_Simulation.ttcn4
1 files changed, 3 insertions, 1 deletions
diff --git a/bsc-nat/BSC_MS_Simulation.ttcn b/bsc-nat/BSC_MS_Simulation.ttcn
index 7b0093d0..2f1961bf 100644
--- a/bsc-nat/BSC_MS_Simulation.ttcn
+++ b/bsc-nat/BSC_MS_Simulation.ttcn
@@ -39,6 +39,8 @@ function main(charstring remote_ip, PortNumber remote_port,
{
var integer i := 0;
timer T := 1.0;
+ var IPA_CCM_Parameters ccm_pars := IPA_Emulation.c_IPA_default_ccm_pars;
+ ccm_pars.name := id;
g_sccp_addr_own := sccp_addr_own;
g_sccp_addr_remote := sccp_addr_remote;
@@ -60,7 +62,7 @@ function main(charstring remote_ip, PortNumber remote_port,
connect(vc_BSSMAP:MGCP, vc_IPA:IPA_MGCP_PORT);
/* start components */
- vc_IPA.start(IPA_Emulation.main_client(remote_ip, remote_port, local_ip, local_port));
+ vc_IPA.start(IPA_Emulation.main_client(remote_ip, remote_port, local_ip, local_port, ccm_pars));
vc_SCCP.start(SCCPStart(sccp_pars));
vc_BSSMAP.start(BSSMAP_Emulation.main(BSC_MS_ConnectionHandler.BSC_MS_BssmapOps, id));