Skip to content

dhcp-option DNS in client config is broken for dco-win #239

@lstipakov

Description

@lstipakov

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

No one assigned

    Labels

    Windowsbugoutdated codeCode parts / behaviour that used to be useful, but now just gets in the way

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions