summaryrefslogtreecommitdiffstats
path: root/openvpn.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-06-11 04:22:11 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-06-11 04:22:11 +0000
commit838911cc424dcc0c03db1e9b256965976068c1a1 (patch)
tree91f58a1f1f5bb6ad18a44dfbdef711de5d63d7a4 /openvpn.h
parentacb567cde0676497f07e9127d68cbedcd90e52be (diff)
downloadopenvpn-838911cc424dcc0c03db1e9b256965976068c1a1.tar.gz
openvpn-838911cc424dcc0c03db1e9b256965976068c1a1.tar.xz
openvpn-838911cc424dcc0c03db1e9b256965976068c1a1.zip
Added optional minimum-number-of-bytes
parameter to --inactive directive. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1036 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/openvpn.h b/openvpn.h
index 3ddc1a7..2b6cf14 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -270,10 +270,13 @@ struct context_2
* timeout features.
*/
struct event_timeout wait_for_connect;
- struct event_timeout inactivity_interval;
struct event_timeout ping_send_interval;
struct event_timeout ping_rec_interval;
+ /* --inactive */
+ struct event_timeout inactivity_interval;
+ int inactivity_bytes;
+
#ifdef ENABLE_OCC
/* the option strings must match across peers */
char *options_string_local;