]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dns: also (re)place foreign dhcp options in env
authorHeiko Hund <heiko@ist.eigentlich.net>
Fri, 27 May 2022 01:24:57 +0000 (03:24 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 28 Jun 2022 12:17:51 +0000 (14:17 +0200)
commitdac85fff2e4588fd922927737a2aafcbd9c9766e
tree23740b95512a28f812979a64f67748461f57a9ae
parent0d46c4963ae47581eadd94dbd2190c66086b9ecb
dns: also (re)place foreign dhcp options in env

Override DNS related foreign_options with values set by the --dns
option. This is done so that scripts looking for these options continue
to work if only --dns option were pushed, or the values in the
--dhcp-options differ from what's pushed in --dns.

Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20220527012457.1819262-5-heiko@ist.eigentlich.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24432.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/openvpn.c
src/openvpn/options.c
src/openvpn/options.h