X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_f1ap_msg_hdl.c;h=713db1c071517cfc4c31257a1765e047cbb6fcad;hb=571b7d1991b8ea5cc64a76f38940d5ac9b4b84e2;hp=a91f0593ad727c1223e4ae4579d2989b86bd41d8;hpb=3a52fbb41a099e37ef072276055cf765828db299;p=o-du%2Fl2.git diff --git a/src/du_app/du_f1ap_msg_hdl.c b/src/du_app/du_f1ap_msg_hdl.c index a91f0593a..713db1c07 100644 --- a/src/du_app/du_f1ap_msg_hdl.c +++ b/src/du_app/du_f1ap_msg_hdl.c @@ -850,7 +850,7 @@ S16 BuildServedCellList(GNB_DU_Served_Cells_List_t *duServedCell) } /* MIB */ srvCellItem->gNB_DU_System_Information->mIB_message.size =\ - strlen(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg) + 1; + strlen(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg); DU_ALLOC(srvCellItem->gNB_DU_System_Information->mIB_message.buf, srvCellItem->gNB_DU_System_Information->mIB_message.size); if(!srvCellItem->gNB_DU_System_Information->mIB_message.buf) @@ -994,7 +994,7 @@ S16 SendF1APMsg(Region region, Pool pool) { SPrntMsg(mBuf, 0,0); - if(sctpSend(mBuf) != ROK) + if(sctpSend(mBuf, F1_INTERFACE) != ROK) { DU_LOG("\nF1AP : SCTP Send failed"); SPutMsg(mBuf);