]> git.ipfire.org Git - thirdparty/openvpn.git/commit
netsh: Clear existing IPv6 DNS servers before configuring new ones
authorSimon Rozman via Openvpn-devel <openvpn-devel@lists.sourceforge.net>
Thu, 24 Sep 2020 06:44:51 +0000 (08:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 24 Sep 2020 10:55:46 +0000 (12:55 +0200)
commitdd754221024cf60226ebaa679ec65ccc23f4e402
tree6e8e6852f870a93e621441325f53ea7579111ac1
parent6020e94bcf9eda89aa6573cb2eb1faf6d267cb46
netsh: Clear existing IPv6 DNS servers before configuring new ones

When there are no IPv6 DNS published, the adapter state is not
sanitized and might contain IPv6 DNS server from a previous session.

netsh_ifconfig_options() clears DNS servers for IPv4 already.

Signed-off-by: Simon Rozman <simon@rozman.si>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20200924064452.1001-2-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21078.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/tun.c