]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
For Windows, set ip-win32 default back to dynamic.
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 12 Nov 2005 23:11:18 +0000 (23:11 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 12 Nov 2005 23:11:18 +0000 (23:11 +0000)
To use new adaptive mode, set explicitly.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@805 e7ae566f-a301-0410-adde-c780ea21d3b5

options.c

index 6cca83730532a18ce451317f09c62a4bf3a85c21..b825a1a1e262d88cf9283055de0d3975cccefd2c 100644 (file)
--- a/options.c
+++ b/options.c
@@ -629,7 +629,7 @@ init_options (struct options *o)
   o->tuntap_options.txqueuelen = 100;
 #endif
 #ifdef WIN32
-  o->tuntap_options.ip_win32_type = IPW32_SET_ADAPTIVE;
+  o->tuntap_options.ip_win32_type = IPW32_SET_DHCP_MASQ;
   o->tuntap_options.dhcp_lease_time = 31536000; /* one year */
   o->tuntap_options.dhcp_masq_offset = 0;       /* use network address as internal DHCP server address */
   o->route_method = ROUTE_METHOD_IPAPI;