Skip to content

Commit 7d34925

Browse files
committed
update
1 parent 0c941e5 commit 7d34925

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ static void print_help()
6666
printf(" --delay-capacity <number> max number of delayed packets, 0 means unlimited, default: 0\n");
6767
printf(" --disable-fec <number> completely disable fec, turn the program into a normal udp tunnel\n");
6868
printf(" --sock-buf <number> buf size for socket, >=10 and <=10240, unit: kbyte, default: 1024\n");
69-
printf(" --out-addr ip:port force all output packets to go through this address. Set port to 0 to use a random one.\n");
69+
printf(" --out-addr ip:port force all output packets of '-r' end to go through this address, port 0 for random port.\n");
7070
#ifdef __linux__
71-
printf(" --out-interface <string> force all output packets to go through this interface.\n");
71+
printf(" --out-interface <string> force all output packets of '-r' end to go through this interface.\n");
7272
#endif
7373
printf("log and help options:\n");
7474
printf(" --log-level <number> 0: never 1: fatal 2: error 3: warn \n");

misc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ void process_arg(int argc, char *argv[])
723723

724724

725725
int no_l = 1, no_r = 1;
726-
while ((opt = getopt_long(argc, argv, "l:r:hcsk:j:f:p:n:i:q:b",long_options,&option_index)) != -1)
726+
while ((opt = getopt_long(argc, argv, "l:r:hcsk:j:f:p:n:i:q:",long_options,&option_index)) != -1)
727727
{
728728
//string opt_key;
729729
//opt_key+=opt;

0 commit comments

Comments
 (0)