]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dns: don't publish env vars to non-dns scripts
authorHeiko Hund <heiko@ist.eigentlich.net>
Sat, 17 May 2025 09:26:26 +0000 (11:26 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 17 May 2025 09:43:14 +0000 (11:43 +0200)
commit412c29c1cbf0565c94ffdbaa435ef3dc6a71e568
tree380a60f28a085e10612543405806800fb9a7466a
parent1dfe8729f6c65812bb2ee8a511c968d48d531840
dns: don't publish env vars to non-dns scripts

With --dns-updown in place we no longer need --dns option related vars in
the environment for other script hooks. Code for doing that is removed and
the function to set --dns stuff made static, for internal use only.

Change-Id: I3fb01ab76cf3df0874ba92e08f371d17607a8369
Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250517092637.2103-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/search?l=mid&q=20250517092637.2103-1-gert@greenie.muc.de
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dns.c
src/openvpn/dns.h
src/openvpn/options.c