NS_Provider_IPL4: map the IPL4 port to the system port before using it

Change-Id: Ia588ff82764e531c14665454eed035cd17b047ad
This commit is contained in:
Alexander Couzens 2020-09-17 23:53:32 +02:00
parent e0f7c543b7
commit 3ee8268e91
1 changed files with 1 additions and 0 deletions

View File

@ -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)) {