diff options
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -637,7 +637,11 @@ init_options (struct options *o) o->tuntap_options.txqueuelen = 100; #endif #ifdef WIN32 +#if 1 + o->tuntap_options.ip_win32_type = IPW32_SET_ADAPTIVE; +#else o->tuntap_options.ip_win32_type = IPW32_SET_DHCP_MASQ; +#endif 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; |