-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Windowsbugoutdated codeCode parts / behaviour that used to be useful, but now just gets in the wayCode parts / behaviour that used to be useful, but now just gets in the way
Description
Since both wintun and dco-win set ip_win32_type to IPW32_SET_NETSH, having dhcp-option DNS 8.8.8.8 in config breaks it because of this code:
if (options->tuntap_options.dhcp_options
&& options->windows_driver != WINDOWS_DRIVER_WINTUN
&& options->tuntap_options.ip_win32_type != IPW32_SET_DHCP_MASQ
&& options->tuntap_options.ip_win32_type != IPW32_SET_ADAPTIVE)
{
msg(M_USAGE, "--dhcp-option requires --ip-win32 dynamic or adaptive");
}
Metadata
Metadata
Assignees
Labels
Windowsbugoutdated codeCode parts / behaviour that used to be useful, but now just gets in the wayCode parts / behaviour that used to be useful, but now just gets in the way