fixed problem of --interval doesnt work

This commit is contained in:
wangyu- 2018-05-21 22:28:38 -05:00
parent 07ca7f2a35
commit d56e34bc22
2 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ typedef short i16_t;
typedef u64_t my_time_t; typedef u64_t my_time_t;
const int max_data_len=2200; const int max_data_len=3600;
const int buf_len=max_data_len+200; const int buf_len=max_data_len+200;

View File

@ -579,6 +579,7 @@ void process_arg(int argc, char *argv[])
{"tun-mtu", required_argument, 0, 1}, {"tun-mtu", required_argument, 0, 1},
{"disable-mssfix", no_argument, 0, 1}, {"disable-mssfix", no_argument, 0, 1},
{"keep-reconnect", no_argument, 0, 1}, {"keep-reconnect", no_argument, 0, 1},
{"interval", required_argument, 0,'i'},
{NULL, 0, 0, 0} {NULL, 0, 0, 0}
}; };
int option_index = 0; int option_index = 0;