mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
trival
This commit is contained in:
parent
eea016cab4
commit
a33133c3de
@ -359,7 +359,7 @@ int read_file(const char * file,char * &output)
|
|||||||
else if(len<0)
|
else if(len<0)
|
||||||
{
|
{
|
||||||
buf[0]=0;
|
buf[0]=0;
|
||||||
mylog(log_error,"read fail %d\n");
|
mylog(log_error,"read fail %d\n",len);
|
||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
2
main.cpp
2
main.cpp
@ -993,7 +993,7 @@ int client_on_timer(conn_info_t &conn_info) //for client
|
|||||||
{
|
{
|
||||||
if(new_ip!=source_ip_uint32)
|
if(new_ip!=source_ip_uint32)
|
||||||
{
|
{
|
||||||
mylog(log_info,"source ip changed from %s to",my_ntoa(source_ip_uint32));
|
mylog(log_info,"source ip changed from %s to ",my_ntoa(source_ip_uint32));
|
||||||
log_bare(log_info,"%s\n",my_ntoa(new_ip));
|
log_bare(log_info,"%s\n",my_ntoa(new_ip));
|
||||||
source_ip_uint32=new_ip;
|
source_ip_uint32=new_ip;
|
||||||
send_info.src_ip=new_ip;
|
send_info.src_ip=new_ip;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user