aboutsummaryrefslogtreecommitdiff
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
parentPKCS#11 fixes to interact with new backtrack-hardened (diff)
downloadopenvpn-d31f9fd263c53a67d8c04d32a5c1087b91bd13ef.tar.xz
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;