mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
trival
This commit is contained in:
parent
4bfbe976f1
commit
3a1050fa26
19
misc.cpp
19
misc.cpp
@ -792,6 +792,16 @@ void process_arg(int argc, char *argv[]) //process all options
|
||||
raw_ip_version=local_addr.get_type();
|
||||
}
|
||||
|
||||
if(auto_add_iptables_rule&& use_tcp_dummy_socket)
|
||||
{
|
||||
mylog(log_error,"-a,--auto-rule is not supposed to be used with easyfaketcp mode, you are likely making a mistake, but we can try to continue\n");
|
||||
}
|
||||
|
||||
if(keep_rule&& use_tcp_dummy_socket)
|
||||
{
|
||||
mylog(log_error,"--keep-rule is not supposed to be used with easyfaketcp mode, you are likely making a mistake, but we can try to continue\n");
|
||||
}
|
||||
|
||||
mylog(log_info,"important variables: ");
|
||||
|
||||
log_bare(log_info,"log_level=%d:%s ",log_level,log_text[log_level]);
|
||||
@ -814,15 +824,6 @@ void process_arg(int argc, char *argv[]) //process all options
|
||||
|
||||
log_bare(log_info,"\n");
|
||||
|
||||
if(auto_add_iptables_rule&& use_tcp_dummy_socket)
|
||||
{
|
||||
mylog(log_error,"-a,--auto-rule is not supposed to be used with easyfaketcp mode, you are likely making a mistake, but we can try to continue\n");
|
||||
}
|
||||
|
||||
if(keep_rule&& use_tcp_dummy_socket)
|
||||
{
|
||||
mylog(log_error,"--keep-rule is not supposed to be used with easyfaketcp mode, you are likely making a mistake, but we can try to continue\n");
|
||||
}
|
||||
}
|
||||
|
||||
void pre_process_arg(int argc, char *argv[])//mainly for load conf file
|
||||
|
Loading…
x
Reference in New Issue
Block a user