From: svaidhya Date: Wed, 18 Sep 2024 10:40:20 +0000 (+0530) Subject: [Epic-Id: ODUHIGH-611][Task-Id: ODUHIGH-627] | Issue in SCTP connection in CU_STUB X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=o-du%2Fl2.git [Epic-Id: ODUHIGH-611][Task-Id: ODUHIGH-627] | Issue in SCTP connection in CU_STUB Change-Id: I56f98f4bf42d31bc23e065ab94b49e99f8689991 Signed-off-by: svaidhya --- diff --git a/src/cu_stub/cu_stub_sctp.c b/src/cu_stub/cu_stub_sctp.c index 794881cf4..4c2fb5652 100644 --- a/src/cu_stub/cu_stub_sctp.c +++ b/src/cu_stub/cu_stub_sctp.c @@ -233,9 +233,9 @@ uint8_t sctpStartReq() uint8_t assocIdx; uint8_t ret = ROK; CmInetFd sockFd; + socket_type = CM_INET_STREAM; #ifdef CONTAINERIZE - socket_type = CM_INET_STREAM; if((ret = cmInetSocket(socket_type, &sctpCb.f1LstnSockFd, IPPROTO_SCTP) != ROK)) { DU_LOG("\nERROR --> SCTP : Socket[%d] coudnt open for listening", sctpCb.f1LstnSockFd.fd);