mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
trival
This commit is contained in:
parent
cee22ec3dc
commit
455dcc1e84
@ -397,7 +397,7 @@ int peek_raw(packet_info_t &peek_info)
|
|||||||
//mylog(log_info,"recv_len %d\n",recv_len);
|
//mylog(log_info,"recv_len %d\n",recv_len);
|
||||||
if(recv_len<int(sizeof(iphdr)))
|
if(recv_len<int(sizeof(iphdr)))
|
||||||
{
|
{
|
||||||
mylog(log_trace,"failed here %d \n",recv_len,int(sizeof(iphdr)));
|
mylog(log_trace,"failed here %d %d\n",recv_len,int(sizeof(iphdr)));
|
||||||
mylog(log_trace,"%s\n ",strerror(errno));
|
mylog(log_trace,"%s\n ",strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user