From d56e34bc2241f1f680e93f1acef210d2b6ca1420 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Mon, 21 May 2018 22:28:38 -0500 Subject: [PATCH] fixed problem of --interval doesnt work --- common.h | 2 +- misc.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.h b/common.h index 3b5719f..90a9a8d 100644 --- a/common.h +++ b/common.h @@ -64,7 +64,7 @@ typedef short i16_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; diff --git a/misc.cpp b/misc.cpp index f50a6d1..78e26fc 100644 --- a/misc.cpp +++ b/misc.cpp @@ -579,6 +579,7 @@ void process_arg(int argc, char *argv[]) {"tun-mtu", required_argument, 0, 1}, {"disable-mssfix", no_argument, 0, 1}, {"keep-reconnect", no_argument, 0, 1}, + {"interval", required_argument, 0,'i'}, {NULL, 0, 0, 0} }; int option_index = 0;