summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-12 23:11:18 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-12 23:11:18 +0000
commitd31f9fd263c53a67d8c04d32a5c1087b91bd13ef (patch)
treed431b95ee4c2f0ccaee8f198720cb834d0d7bbda /options.c
parente78206c0c18d1f6011416be7bcff615d1e9caa54 (diff)
downloadopenvpn-d31f9fd263c53a67d8c04d32a5c1087b91bd13ef.tar.gz
openvpn-d31f9fd263c53a67d8c04d32a5c1087b91bd13ef.tar.xz
openvpn-d31f9fd263c53a67d8c04d32a5c1087b91bd13ef.zip
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
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 6cca837..b825a1a 100644
--- 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;