Skip to content

Commit

Permalink
trival
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu- committed Jun 5, 2018
1 parent c0b70c9 commit 3862e5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions doc/README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3862e5a

Please sign in to comment.