aboutsummaryrefslogtreecommitdiff
path: root/forward.c
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-03-20 19:43:06 +0000
committerDavid Sommerseth <dazo@users.sourceforge.net>2011-04-26 22:29:11 +0200
commit4ff5b53ff8a1d6232e21a3e8f0538dc87ca4920b (patch)
treea0ffd9307e10b3c3b09280782bcdf279a63d97fc /forward.c
parentExtended "client-kill" management interface command (server-side) (diff)
downloadopenvpn-4ff5b53ff8a1d6232e21a3e8f0538dc87ca4920b.tar.xz
Client will now try to reconnect if no push reply received
within handshake-window seconds. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7066 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/forward.c b/forward.c
index 65b8f0c..7212db4 100644
--- a/forward.c
+++ b/forward.c
@@ -178,8 +178,8 @@ check_push_request_dowork (struct context *c)
{
send_push_request (c);
- /* if no response to first push_request, retry at 5 second intervals */
- event_timeout_modify_wakeup (&c->c2.push_request_interval, 5);
+ /* if no response to first push_request, retry at PUSH_REQUEST_INTERVAL second intervals */
+ event_timeout_modify_wakeup (&c->c2.push_request_interval, PUSH_REQUEST_INTERVAL);
}
#endif /* P2MP */