]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Allow certain DHCP options to be used without DHCP server
authorLev Stipakov <lev@openvpn.net>
Tue, 7 Feb 2023 14:54:16 +0000 (16:54 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 10 Feb 2023 16:55:34 +0000 (17:55 +0100)
commit469158f93ea52a6c2f821890ef599299183aa020
treed81dc3424b315401a9a7c840fad139114d1c422c
parent589cca156357e05c6c3f07517184157585c8e9fc
Allow certain DHCP options to be used without DHCP server

Followin DHCP options:

  DOMAIN, ADAPTER_DOMAIN_SUFFIX, DNS, WINS

don't require DHCP server in order to be used.

This change allows those options to be used with dco and wintun
drivers. If an option specified which requires DHCP server and
tap-windows6 driver is not used, print a clear error message
instead of obscure reference to --ip-win32.

Reported-by: Marek Zarychta
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20230207145416.1415-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26169.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c
src/openvpn/tun.h