mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
fix typo in code
This commit is contained in:
parent
9c8316e957
commit
bb7fe5c0d4
2
misc.cpp
2
misc.cpp
@ -759,7 +759,7 @@ void process_arg(int argc, char *argv[]) //process all options
|
||||
}
|
||||
else if(strcmp(long_options[option_index].name,"no-pcap-mutex")==0)
|
||||
{
|
||||
use_pcap_mutex=9;
|
||||
use_pcap_mutex=0;
|
||||
mylog(log_warn,"--no-pcap-mutex enabled, we will assume the underlying pcap calls are threadsafe\n");
|
||||
}
|
||||
else if(strcmp(long_options[option_index].name,"easy-tcp")==0)
|
||||
|
@ -866,10 +866,9 @@ void init_filter(int port)
|
||||
}
|
||||
ev_sleep(0.001);
|
||||
}
|
||||
mylog(log_info,"breakloop() succeed after %lld attempt(s)\n", tmp_cnt);
|
||||
}
|
||||
|
||||
mylog(log_info,"breakloop() succeed after %lld attempt(s)\n", tmp_cnt);
|
||||
|
||||
if(1)
|
||||
{
|
||||
int ret=pcap_setdirection(pcap_handle,PCAP_D_IN);
|
||||
|
Loading…
x
Reference in New Issue
Block a user