mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-11-15 17:45:34 +08:00
fixed icmp mode filter bug
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -2389,10 +2389,6 @@ int keep_connection_server()
|
|||||||
mylog(log_trace,"timer!\n");
|
mylog(log_trace,"timer!\n");
|
||||||
if(server_current_state==server_nothing)
|
if(server_current_state==server_nothing)
|
||||||
{
|
{
|
||||||
if(raw_mode==mode_icmp)
|
|
||||||
{
|
|
||||||
remove_filter();
|
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(server_current_state==server_syn_ack_sent &&get_current_time()-last_state_time>handshake_timeout )
|
if(server_current_state==server_syn_ack_sent &&get_current_time()-last_state_time>handshake_timeout )
|
||||||
|
|||||||
Reference in New Issue
Block a user