summaryrefslogtreecommitdiffstats
path: root/sgsn/SGSN_Tests.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'sgsn/SGSN_Tests.ttcn')
-rw-r--r--sgsn/SGSN_Tests.ttcn8
1 files changed, 4 insertions, 4 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index a381692..a02d3a9 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -92,9 +92,9 @@ type record BSSGP_ConnHdlrPars {
float t_guard
};
-private function f_init_gb(inout GbInstance gb) runs on test_CT {
- gb.vc_NS := NS_CT.create;
- gb.vc_BSSGP := BSSGP_CT.create;
+private function f_init_gb(inout GbInstance gb, charstring id) runs on test_CT {
+ gb.vc_NS := NS_CT.create(id & "-NS");
+ gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP");
/* connect lower end of BSSGP emulation with NS upper port */
connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
/* connect lower end of NS emulation to NS codec port (on top of IPL4) */
@@ -175,7 +175,7 @@ function f_init() runs on test_CT {
sgsn_role := false
};
- f_init_gb(g_gb[0]);
+ f_init_gb(g_gb[0], "SGSN_Test-Gb0");
f_init_gsup("SGSN_Test");
f_init_gtp("SGSN_Test");
f_init_vty();