Replacing macros values with cell configuration parameters
[o-du/l2.git] / src / du_app / du_sys_info_hdl.c
index 4974325..ecf04e7 100644 (file)
@@ -337,8 +337,9 @@ uint8_t BuildCellIdentity(CellIdentity_t  *cellIdentity)
    {   
       DU_LOG("\nERROR  -->  DU APP: CellIdentity memory allocation failure");
       return RFAILED;
-   }   
-   *cellIdentity->buf = duCfgParam.sib1Params.cellIdentity;
+   }
+   memset(cellIdentity->buf, 0,  cellIdentity->size);
+   cellIdentity->buf[4] = duCfgParam.sib1Params.cellIdentity;
 
    return ROK;
 }