diff --git a/openair-cn/GTPV1-U/gtpv1u_eNB.c b/openair-cn/GTPV1-U/gtpv1u_eNB.c index af2b9647a3..b17ddf0faa 100644 --- a/openair-cn/GTPV1-U/gtpv1u_eNB.c +++ b/openair-cn/GTPV1-U/gtpv1u_eNB.c @@ -519,7 +519,7 @@ gtpv1u_new_data_req( stack_req.apiInfo.sendtoInfo.teid = bearer_p->teid_sgw; stack_req.apiInfo.sendtoInfo.ipAddr = bearer_p->sgw_ip_addr; - LOG_W(GTPU, "TX TO TEID %u addr 0x%x\n",bearer_p->teid_sgw, bearer_p->sgw_ip_addr); + LOG_I(GTPU, "TX TO TEID %u addr 0x%x\n",bearer_p->teid_sgw, bearer_p->sgw_ip_addr); rc = nwGtpv1uGpduMsgNew(gtpv1u_data_p->gtpv1u_stack, bearer_p->teid_sgw, NW_FALSE, @@ -544,7 +544,7 @@ gtpv1u_new_data_req( LOG_E(GTPU, "nwGtpv1uMsgDelete failed: 0x%x\n", rc); return -1; } - LOG_E(GTPU, "%s() return code OK\n", __FUNCTION__); + LOG_I(GTPU, "%s() return code OK\n", __FUNCTION__); return 0; } diff --git a/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c b/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c index d52659ba16..1a3bd8c872 100644 --- a/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c +++ b/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c @@ -205,7 +205,7 @@ nwGtpv1uCreateAndSendMsg( NwGtpv1uStackT *thiz, NwU32T peerIp, NwU16T peerPort, *((NwU32T *) msgHdr) = htonl(pMsg->teid); msgHdr += 4; - GTPU_ERROR("nwGtpv1uCreateAndSendMsg to teid %u\n", pMsg->teid); + GTPU_DEBUG("nwGtpv1uCreateAndSendMsg to teid %u\n", pMsg->teid); if(pMsg->seqNumFlag || pMsg->extHdrFlag || pMsg->npduNumFlag) { *((NwU16T *) msgHdr) = (pMsg->seqNumFlag ? htons(pMsg->seqNum) : 0x0000); diff --git a/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c b/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c index b2abe76361..de36bbc393 100644 --- a/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c +++ b/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c @@ -43,6 +43,9 @@ #include "NwGtpv1uPrivate.h" #include "NwGtpv1uMsg.h" +#include "gtpv1u.h" +#include "UTIL/LOG/log.h" + #define NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE (12) /**< Size of GTPv1u EPC specific header */ #ifdef __cplusplus @@ -240,7 +243,7 @@ nwGtpv1uMsgSetTeid(NW_IN NwGtpv1uMsgHandleT hMsg, NwU32T teid) { NwGtpv1uMsgT *thiz = (NwGtpv1uMsgT *) hMsg; thiz->teid = teid; - printf("nwGtpv1uMsgSetTeid() teid %u", teid); + GTPU_DEBUG("nwGtpv1uMsgSetTeid() teid %u", teid); return NW_GTPV1U_OK; }