[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-553] Transid fixes in E2AP procedures
[o-du/l2.git] / src / ric_stub / ric_stub_sctp.c
index 6c76ecb..9ae5983 100644 (file)
@@ -146,7 +146,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");