From 3375c6ac9d7de0540789483e964658746e245634 Mon Sep 17 00:00:00 2001 From: wangyu Date: Sat, 16 Jan 2021 14:40:03 -0500 Subject: [PATCH] refine huge packet log --- tunnel_client.cpp | 2 +- tunnel_server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tunnel_client.cpp b/tunnel_client.cpp index 907d9bb..e129f67 100644 --- a/tunnel_client.cpp +++ b/tunnel_client.cpp @@ -52,7 +52,7 @@ void data_from_local_or_fec_timeout(conn_info_t & conn_info,int is_time_out) if(data_len==max_data_len+1) { - mylog(log_warn,"huge packet, data_len > %d, packet truncated, dropped\n",max_data_len); + mylog(log_warn,"huge packet from upper level, data_len > %d, packet truncated, dropped\n",max_data_len); return ; } diff --git a/tunnel_server.cpp b/tunnel_server.cpp index 81f96d1..673aacc 100644 --- a/tunnel_server.cpp +++ b/tunnel_server.cpp @@ -93,7 +93,7 @@ void data_from_remote_or_fec_timeout_or_conn_timer(conn_info_t & conn_info,fd64_ if(data_len==max_data_len+1) { - mylog(log_warn,"huge packet, data_len > %d, packet truncated, dropped\n",max_data_len); + mylog(log_warn,"huge packet from upper level, data_len > %d, packet truncated, dropped\n",max_data_len); return ; }