From: james Date: Tue, 27 Feb 2007 23:51:27 +0000 (+0000) Subject: The Windows version will now use a default route-delay X-Git-Tag: v2.1_rc2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a79e2e10ca3c7ddbea0614b1ba80e26e43d3d85;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/options.c b/options.c index 94da98e9e..530ff689a 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)