mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
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
This commit is contained in:
parent
e78206c0c1
commit
d31f9fd263
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user