mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-10-14 01:35:36 +08:00
fixed problem of --interval doesnt work
This commit is contained in:
2
common.h
2
common.h
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
1
misc.cpp
1
misc.cpp
@@ -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;
|
||||||
|
Reference in New Issue
Block a user