GTP ECHO-REQ/RSP log level chaged to 5

This commit is contained in:
Sukchan Lee 2018-01-11 14:39:12 +09:00
parent 7a771173bc
commit 1498f6c015
2 changed files with 3 additions and 3 deletions

View File

@ -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");

View File

@ -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);