summaryrefslogtreecommitdiffstats
path: root/library/NS_Provider_IPL4.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'library/NS_Provider_IPL4.ttcn')
-rw-r--r--library/NS_Provider_IPL4.ttcn10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/NS_Provider_IPL4.ttcn b/library/NS_Provider_IPL4.ttcn
index 8ab8caac..14149350 100644
--- a/library/NS_Provider_IPL4.ttcn
+++ b/library/NS_Provider_IPL4.ttcn
@@ -27,12 +27,12 @@ function main(NSConfiguration config) runs on NS_Provider_IPL4_CT {
/* connect socket */
map(self:IPL4, system:IPL4);
- var Result res := f_IPL4_connect(IPL4, config.remote_ip, config.remote_udp_port, config.local_ip,
- config.local_udp_port, 0, { udp := {}});
+ var Result res := f_IPL4_connect(IPL4, config.provider.ip.remote_ip,
+ config.provider.ip.remote_udp_port,
+ config.provider.ip.local_ip,
+ config.provider.ip.local_udp_port, 0, { udp := {}});
if (not ispresent(res.connId)) {
- setverdict(fail, "Could not connect NS UDP socket from " &
- config.local_ip & ":" & int2str(config.local_udp_port) &
- " to " & config.remote_ip & ":" & int2str(config.remote_udp_port));
+ setverdict(fail, "Could not connect NS UDP socket ", config.provider.ip);
mtc.stop;
}
g_conn_id := res.connId;