Replaced old SSI function with new macros jira id - ODUHIGH-212
[o-du/l2.git] / src / cu_stub / cu_stub.c
index 23bd42c..c9a8daa 100644 (file)
 *******************************************************************************/
 
 /* This functions contains main() for cu_app */
-
+#include "common_def.h"
 #include "cu_stub.h"
 #include "cu_stub_sctp.h"
 #include "cu_stub_egtp.h"
+#include "du_log.h"
 
 #define CU_ID 1
 #define CU_NAME "ORAN_OAM_CU"
-#define DU_IP_V4_ADDR "10.0.2.20"
-#define CU_IP_V4_ADDR "10.0.2.25"
+#define DU_IP_V4_ADDR "192.168.130.81"
+#define CU_IP_V4_ADDR "192.168.130.82"
 #define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001"
 #define CU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011"
 #define DU_PORT 38472
@@ -84,7 +85,7 @@ void init_log()
  *
  * ****************************************************************/
 
-S16 tst()
+uint8_t tst()
 {
    init_log();   
    DU_LOG("\nStarting CU_STUB");
@@ -102,7 +103,7 @@ S16 tst()
    sctpCfgReq();
    sctpStartReq();
 
-   RETVALUE(ROK);
+   return ROK;
 }
 
 /*******************************************************************