Skip to content

Commit

Permalink
Log gtpc_delete_session_request_hdl
Browse files Browse the repository at this point in the history
When a eNodeB detects a radio error (for instance a cell phone switching
to plane mode), the MME or AMF emits a delete session request to the SGW
and then the SGW emits a GTPc delete session request to the PGW
(gtp-guard). Let's log this event.
  • Loading branch information
vjardin committed Feb 17, 2025
1 parent 0c7c9fa commit b65cc82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gtp_router_hdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,8 @@ gtpc_delete_session_request_hdl(gtp_server_worker_t *w, struct sockaddr_storage
goto end;
}

log_message(LOG_INFO, "Delete-Session-Req:={F-TEID:0x%.8x}", ntohl(teid->peer_teid->id));

msg_ie = gtp_msg_ie_get(msg, GTP_IE_F_TEID_TYPE);
if (!msg_ie) {
log_message(LOG_INFO, "%s(): no F_TEID IE present. ignoring..."
Expand Down

0 comments on commit b65cc82

Please sign in to comment.