mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
trival
This commit is contained in:
parent
c0b70c95ca
commit
3862e5a4e2
@ -91,7 +91,7 @@ git version:6e1df4b39f build date:Oct 24 2017 09:21:15
|
||||
repository: https://github.com/wangyu-/udp2raw-tunnel
|
||||
|
||||
usage:
|
||||
run as client : ./this_program -c -l local_listen_ip:local_port -r remote_address:server_port [options]
|
||||
run as client : ./this_program -c -l local_listen_ip:local_port -r server_address:server_port [options]
|
||||
run as server : ./this_program -s -l server_listen_ip:server_port -r remote_address:remote_port [options]
|
||||
|
||||
common options,these options must be same on both side:
|
||||
|
@ -119,8 +119,8 @@ git version:6e1df4b39f build date:Oct 24 2017 09:21:15
|
||||
repository: https://github.com/wangyu-/udp2raw-tunnel
|
||||
|
||||
usage:
|
||||
run as client : ./this_program -c -l local_listen_ip:local_port -r remote_address:server_port [options]
|
||||
run as server : ./this_program -s -l server_listen_ip:server_port -r remote_address:remote_port [options]
|
||||
run as client : ./this_program -c -l local_listen_ip:local_port -r server_address:server_port [options]
|
||||
run as server : ./this_program -s -l server_listen_ip:server_port -r remote_address:remote_port [options]
|
||||
|
||||
common options,these options must be same on both side:
|
||||
--raw-mode <string> avaliable values:faketcp(default),udp,icmp
|
||||
|
2
misc.cpp
2
misc.cpp
@ -659,7 +659,7 @@ void process_arg(int argc, char *argv[]) //process all options
|
||||
mylog(log_info,"ttl_value=%d\n",ttl_value);
|
||||
}
|
||||
|
||||
else if(strcmp(long_options[option_index].name,"dns-resolve")==0)
|
||||
else if(strcmp(long_options[option_index].name,"dns-resolve")==0) // currently not used
|
||||
{
|
||||
enable_dns_resolve=1;
|
||||
mylog(log_info,"dns-resolve enabled\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user