From 9a1aa59023a40e63ee3f08da383edd57b7acc9a1 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 21 Aug 2020 13:54:27 +0200 Subject: stp: Bind to free SCTP port instead of hardcoded 9999 TTCN3 transforms -1 internally to 9999. We don't care about the src port here since we are a client, so let's simple take a randomly free one. Change-Id: I6665e628c5f1db31731d092f58d0bd2520f65ee6 --- stp/STP_Tests_M3UA.ttcn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stp') diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn index 58e52d3e..68cea2a7 100644 --- a/stp/STP_Tests_M3UA.ttcn +++ b/stp/STP_Tests_M3UA.ttcn @@ -95,7 +95,7 @@ friend function f_M3UA_exp(integer idx, template (present) PDU_M3UA msg) runs on friend function f_M3UA_connect(integer i) runs on RAW_M3UA_CT { var Result res; res := M3UA_CodecPort_CtrlFunct.f_IPL4_connect(M3UA[i], mp_stp_ip, mp_stp_m3ua_port, - mp_local_ip, mp_local_m3ua_port+i, -1, + mp_local_ip, mp_local_m3ua_port+i, 0, {sctp:=valueof(ts_SCTP)}); if (not ispresent(res.connId)) { setverdict(fail, "Could not connect M3UA socket, check your configuration"); -- cgit v1.2.3