forked from acouzens/open5gs
GTP ECHO-REQ/RSP log level chaged to 5
This commit is contained in:
parent
7a771173bc
commit
1498f6c015
|
@ -273,7 +273,7 @@ pkbuf_t *gtp_handle_echo_req(pkbuf_t *pkb)
|
|||
}
|
||||
|
||||
|
||||
d_trace(3, "gtp_handle_without_teid(ECHO_REQ)\n");
|
||||
d_trace(5, "gtp_handle_without_teid(ECHO_REQ)\n");
|
||||
|
||||
pkb_resp = pkbuf_alloc(0, 100 /* enough for ECHO_RSP; use smaller buffer */);
|
||||
d_assert(pkb_resp, return NULL, "Can't allocate pkbuf");
|
||||
|
|
|
@ -90,14 +90,14 @@ static int _gtpv1_u_recv_cb(sock_id sock, void *data)
|
|||
{
|
||||
pkbuf_t *echo_rsp;
|
||||
|
||||
d_trace(3, "Received echo-req\n");
|
||||
d_trace(5, "ECHO-REQ received\n");
|
||||
echo_rsp = gtp_handle_echo_req(pkbuf);
|
||||
if (echo_rsp)
|
||||
{
|
||||
ssize_t sent;
|
||||
|
||||
/* Echo reply */
|
||||
d_trace(3, "Send echo-rsp to peer\n");
|
||||
d_trace(5, "Send ECHO-RSP to PEER\n");
|
||||
|
||||
sent = core_sendto(sock,
|
||||
echo_rsp->payload, echo_rsp->len, 0, &from);
|
||||
|
|
Loading…
Reference in New Issue