aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-02-27 23:51:27 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-02-27 23:51:27 +0000
commit3a79e2e10ca3c7ddbea0614b1ba80e26e43d3d85 (patch)
tree7503bbaa3db629de015ad90a89e3f0ab514ae16a
parentRenamed TAP-Win32 driver from tap0801.sys to tap0901.sys (diff)
downloadopenvpn-3a79e2e10ca3c7ddbea0614b1ba80e26e43d3d85.tar.xz
The Windows version will now use a default route-delay
of 5 seconds to deal with an apparent routing table race condition on Vista. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1747 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 94da98e..530ff68 100644
--- a/options.c
+++ b/options.c
@@ -1550,7 +1550,7 @@ options_postprocess (struct options *options, bool first_time)
if ((dev == DEV_TYPE_TUN || dev == DEV_TYPE_TAP) && !options->route_delay_defined)
{
options->route_delay_defined = true;
- options->route_delay = 0;
+ options->route_delay = 5; /* Vista sometimes has a race without this */
}
if (options->ifconfig_noexec)