mirror of
				https://github.com/wangyu-/udp2raw.git
				synced 2025-11-04 04:05:35 +08:00 
			
		
		
		
	add warning
This commit is contained in:
		
							
								
								
									
										10
									
								
								misc.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								misc.cpp
									
									
									
									
									
								
							@@ -813,6 +813,16 @@ void process_arg(int argc, char *argv[])  //process all options
 | 
			
		||||
	 log_bare(log_info,"socket_buf_size=%d ",socket_buf_size);
 | 
			
		||||
 | 
			
		||||
	 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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user