diff --git a/src/mme/mme_s11_handler.c b/src/mme/mme_s11_handler.c index 971eac70e..0539b6557 100644 --- a/src/mme/mme_s11_handler.c +++ b/src/mme/mme_s11_handler.c @@ -88,7 +88,7 @@ void mme_s11_handle_create_session_response( rv = gtp_f_teid_to_ip(sgw_s1u_teid, &bearer->sgw_s1u_ip); d_assert(rv == CORE_OK, return,); - d_trace(3, "[MME] Create Session Response : MME[0x%x] <-- SGW[0x%x]\n", + d_trace(3, "[MME] Create Session Response : MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); rv = gtp_xact_commit(xact); @@ -119,7 +119,7 @@ void mme_s11_handle_modify_bearer_response( d_assert(mme_ue, return, "Null param"); d_assert(rsp, return, "Null param"); - d_trace(3, "[MME] Modify Bearer Response : MME[0x%x] <-- SGW[0x%x]\n", + d_trace(3, "[MME] Modify Bearer Response : MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); rv = gtp_xact_commit(xact); @@ -160,7 +160,7 @@ void mme_s11_handle_delete_session_response( return; } - d_trace(3, "[MME] Delete Session Response : MME[0x%x] <-- SGW[0x%x]\n", + d_trace(3, "[MME] Delete Session Response : MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); rv = gtp_xact_commit(xact); @@ -221,7 +221,7 @@ void mme_s11_handle_create_bearer_request( d_assert(mme_ue, return, "Null param"); d_assert(req, return, "Null param"); - d_trace(3, "[MME] Create Bearer Request : MME[0x%x] <-- SGW[0x%x]\n", + d_trace(3, "[MME] Create Bearer Request : MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); if (req->linked_eps_bearer_id.presence == 0) @@ -311,8 +311,7 @@ void mme_s11_handle_release_access_bearers_response( return; } - d_trace(3, "[MME] Release Access Bearers Response : " - "MME[0x%x] <-- SGW[0x%x]\n", + d_trace(3, "[MME] Release Access Bearers Response : MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); rv = gtp_xact_commit(xact); @@ -336,7 +335,7 @@ void mme_s11_handle_downlink_data_notification( d_assert(mme_ue, return, "Null param"); d_assert(noti, return, "Null param"); - d_trace(3, "[MME] Downlink Data Notification : MME[0x%x] <-- SGW[0x%x]\n", + d_trace(3, "[MME] Downlink Data Notification : MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); /* Build Downlink data notification ack */ @@ -380,7 +379,7 @@ void mme_s11_handle_create_indirect_data_forwarding_tunnel_response( } d_trace(3, "[MME] Create Indirect Data Forwarding Tunnel Response : " - "MME[0x%x] <-- SGW[0x%x]\n", + "MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); rv = gtp_xact_commit(xact); @@ -444,7 +443,7 @@ void mme_s11_handle_delete_indirect_data_forwarding_tunnel_response( } d_trace(3, "[MME] Delete Indirect Data Forwarding Tunnel Response : " - "MME[0x%x] <-- SGW[0x%x]\n", + "MME[%d] <-- SGW[%d]\n", mme_ue->mme_s11_teid, mme_ue->sgw_s11_teid); rv = gtp_xact_commit(xact); diff --git a/src/sgw/sgw_s11_handler.c b/src/sgw/sgw_s11_handler.c index d30d06c49..ec1e15e89 100644 --- a/src/sgw/sgw_s11_handler.c +++ b/src/sgw/sgw_s11_handler.c @@ -273,7 +273,7 @@ CORE_DECLARE(void) sgw_s11_handle_modify_bearer_request(gtp_xact_t *s11_xact, rv = gtp_xact_commit(s11_xact); d_assert(rv == CORE_OK, return, "xact_commit error"); - d_trace(3, "[SGW] Modify Bearer Reqeust : MME[0x%x] --> SGW[0x%x]\n", + d_trace(3, "[SGW] Modify Bearer Reqeust : MME[%d] --> SGW[%d]\n", sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); } @@ -316,7 +316,7 @@ void sgw_s11_handle_delete_session_request(gtp_xact_t *s11_xact, rv = gtp_xact_commit(s5c_xact); d_assert(rv == CORE_OK, return, "xact_commit error"); - d_trace(3, "[SGW] Delete Session Reqeust : SGW[0x%x] --> PGW[%x]\n", + d_trace(3, "[SGW] Delete Session Reqeust : SGW[0x%x] --> PGW[0x%x]\n", sess->sgw_s5c_teid, sess->pgw_s5c_teid); } @@ -523,8 +523,7 @@ void sgw_s11_handle_release_access_bearers_request(gtp_xact_t *s11_xact, rv = gtp_xact_commit(s11_xact); d_assert(rv == CORE_OK, return, "xact_commit error"); - d_trace(3, "[SGW] Release Access Bearers Reqeust : " - "MME[0x%x] --> SGW[0x%x]\n", + d_trace(3, "[SGW] Release Access Bearers Reqeust : MME[%d] --> SGW[%d]\n", sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); } @@ -568,15 +567,14 @@ void sgw_s11_handle_lo_dldata_notification(sgw_bearer_t *bearer) rv = gtp_xact_commit(xact); d_assert(rv == CORE_OK, return, "xact_commit error"); - d_trace(3, "[SGW] Downlink Data Notification : SGW[0x%x] --> MME[0x%x]\n", + d_trace(3, "[SGW] Downlink Data Notification : SGW[%d] --> MME[%d]\n", sgw_ue->sgw_s11_teid, sgw_ue->mme_s11_teid); } void sgw_s11_handle_downlink_data_notification_ack(sgw_ue_t *sgw_ue, gtp_downlink_data_notification_acknowledge_t *ack) { - d_trace(3, "[SGW] Downlink Data Notification Ack: " - "MME[0x%x] --> SGW[0x%x]\n", + d_trace(3, "[SGW] Downlink Data Notification Ack: MME[%d] --> SGW[%d]\n", sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); } @@ -729,8 +727,7 @@ void sgw_s11_handle_create_indirect_data_forwarding_tunnel_request( d_assert(rv == CORE_OK, return, "xact_commit error"); d_trace(3, "[SGW] Create Indirect Data Forwarding Tunnel Response : " - "MME[0x%x] --> SGW[0x%x]\n", - sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); + "MME[%d] --> SGW[%d]\n", sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); } void sgw_s11_handle_delete_indirect_data_forwarding_tunnel_request( @@ -802,6 +799,5 @@ void sgw_s11_handle_delete_indirect_data_forwarding_tunnel_request( d_assert(rv == CORE_OK, return, "xact_commit error"); d_trace(3, "[SGW] Delete Indirect Data Forwarding Tunnel Response : " - "MME[0x%x] --> SGW[0x%x]\n", - sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); + "MME[%d] --> SGW[%d]\n", sgw_ue->mme_s11_teid, sgw_ue->sgw_s11_teid); } diff --git a/src/sgw/sgw_s5c_handler.c b/src/sgw/sgw_s5c_handler.c index fb76fd6d5..a09e07939 100644 --- a/src/sgw/sgw_s5c_handler.c +++ b/src/sgw/sgw_s5c_handler.c @@ -309,7 +309,7 @@ void sgw_s5c_handle_create_bearer_request(gtp_xact_t *s5c_xact, rv = gtp_xact_commit(s11_xact); d_assert(rv == CORE_OK, return, "xact_commit error"); - d_trace(3, "[SGW] Create Bearer Request : SGW[0x%x] <-- PGW[0x%x]\n", + d_trace(3, "[SGW] Create Bearer Request : SGW[%d] <-- PGW[%d]\n", s5u_tunnel->local_teid, s5u_tunnel->remote_teid); }