X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_stub_sctp.c;h=a0a455a4b9a4ac0d46ac81d27a76e89e6e5dfd3d;hb=2a310f38af13dafd243ef7b24d5a721ed34355b3;hp=6c76ecb606e9d8bd7a24ea492bb025c77aa0cc5c;hpb=02385cfbd5aa8844077a5054ce1912f6e4ce6471;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_stub_sctp.c b/src/ric_stub/ric_stub_sctp.c index 6c76ecb60..a0a455a4b 100644 --- a/src/ric_stub/ric_stub_sctp.c +++ b/src/ric_stub/ric_stub_sctp.c @@ -24,6 +24,9 @@ #include "ric_e2ap_msg_hdl.h" #include "E2AP-PDU.h" +uint8_t socket_type; +SctpGlobalCb sctpCb; + /************************************************************************** * @brief Function to configure the Sctp Params during config Request * @@ -146,7 +149,7 @@ uint8_t sctpStartReq() { DU_LOG("\nERROR --> SCTP: Binding failed at RIC"); } - else if(ret = cmInetListen(&sctpCb.e2LstnSockFd, 1) != ROK) + else if((ret = cmInetListen(&sctpCb.e2LstnSockFd, 1)) != ROK) { DU_LOG("\nERROR --> SCTP: Unable to accept the connection at CU"); DU_LOG("\nERROR --> SCTP : Listening on socket failed");