X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_stub_sctp.c;fp=src%2Fric_stub%2Fric_stub_sctp.c;h=9ae5983971d3dc2e58fe726779dbef22198adaca;hb=df97420828852456256f46cfb7b921c12bd9285e;hp=6c76ecb606e9d8bd7a24ea492bb025c77aa0cc5c;hpb=324bffe05ee2a2a3754150dea9c17dc5cb06565b;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..9ae598397 100644 --- a/src/ric_stub/ric_stub_sctp.c +++ b/src/ric_stub/ric_stub_sctp.c @@ -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");