Re: [Openvpn-devel] [PATCH] Support of DNS domain for DHCP-less drivers

2023-04-06 Thread Lev Stipakov
Hi, > Adding "!tuntap_maybe_dhcp()" here looks wrong. We must set the domain if not > set during IPv4 processing and that is indicated by did_ifconfig_setup. Just > as done in the case handled by interactive-service above. Right, did_ifconfig_setup is not set if the IPv4 address is not pushed,

Re: [Openvpn-devel] [PATCH] Support of DNS domain for DHCP-less drivers

2023-04-05 Thread Selva Nair
Hi, On Tue, Apr 4, 2023 at 4:01 AM Lev Stipakov wrote: > From: Lev Stipakov > > We set DNS domain either via interactve service or DHCP. > When interactive service is not used, for example, > when profiles are started by OpenVPNService, this option > is not working for DCO and wintun. > > This

[Openvpn-devel] [PATCH] Support of DNS domain for DHCP-less drivers

2023-04-04 Thread Lev Stipakov
From: Lev Stipakov We set DNS domain either via interactve service or DHCP. When interactive service is not used, for example, when profiles are started by OpenVPNService, this option is not working for DCO and wintun. This implements setting DNS domain via WMIC command, similar to