[Epic-Id: ODUHIGH-611][Task-Id: ODUHIGH-627] | Issue in SCTP connection in CU_STUB 62/13362/1 master
authorsvaidhya <svaidhya@radisys.com>
Wed, 18 Sep 2024 10:40:20 +0000 (16:10 +0530)
committersvaidhya <svaidhya@radisys.com>
Wed, 18 Sep 2024 10:41:15 +0000 (16:11 +0530)
Change-Id: I56f98f4bf42d31bc23e065ab94b49e99f8689991
Signed-off-by: svaidhya <svaidhya@radisys.com>
src/cu_stub/cu_stub_sctp.c

index 794881c..4c2fb56 100644 (file)
@@ -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);