/* This file contains F1AP message handler functions */
+#include "du_mgr.h"
#include "du_mgr_main.h"
-#include "du_cfg.h"
#include "du_cell_mgr.h"
#include "du_f1ap_msg_hdl.h"
#include "GNB-DU-System-Information.h"
}
/* 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)
{
SPrntMsg(mBuf, 0,0);
- if(sctpSend(mBuf) != ROK)
+ if(sctpSend(mBuf, F1_INTERFACE) != ROK)
{
DU_LOG("\nF1AP : SCTP Send failed");
SPutMsg(mBuf);