aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-09-17 23:53:32 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-09-17 23:54:42 +0200
commit3ee8268e91b647e9fefa7f76e4dbd10c1bbf41b1 (patch)
treea225199bd64921db245419e34ca9762e659ccb8c
parente0f7c543b75198a13bb587296333fa3d18425d5f (diff)
NS_Provider_IPL4: map the IPL4 port to the system port before using it
-rw-r--r--library/NS_Provider_IPL4.ttcn1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/NS_Provider_IPL4.ttcn b/library/NS_Provider_IPL4.ttcn
index 5540d83b..8ab8caac 100644
--- a/library/NS_Provider_IPL4.ttcn
+++ b/library/NS_Provider_IPL4.ttcn
@@ -26,6 +26,7 @@ type component NS_Provider_IPL4_CT extends NS_Provider_CT {
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 := {}});
if (not ispresent(res.connId)) {