Browse code

For Windows, set ip-win32 default back to dynamic. 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

james authored on 2005/11/13 08:11:18
Showing 1 changed files
... ...
@@ -629,7 +629,7 @@ init_options (struct options *o)
629 629
   o->tuntap_options.txqueuelen = 100;
630 630
 #endif
631 631
 #ifdef WIN32
632
-  o->tuntap_options.ip_win32_type = IPW32_SET_ADAPTIVE;
632
+  o->tuntap_options.ip_win32_type = IPW32_SET_DHCP_MASQ;
633 633
   o->tuntap_options.dhcp_lease_time = 31536000; /* one year */
634 634
   o->tuntap_options.dhcp_masq_offset = 0;       /* use network address as internal DHCP server address */
635 635
   o->route_method = ROUTE_METHOD_IPAPI;