]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Treat dhcp-option DNS6 and DNS identical
authorArne Schwabe <arne@rfc2549.org>
Wed, 31 Jan 2018 09:41:02 +0000 (10:41 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 4 Feb 2018 10:43:18 +0000 (11:43 +0100)
commit849006bf17bba524e6f3344598adcbe41bedf450
tree5082caf8394a4c49c03e521e4efda545f4e63e63
parent499794596deb16965164b611ff61c8609c6cd08e
Treat dhcp-option DNS6 and DNS identical

OpenVPN3 accepts both IPv4 and IPv6 with option-dhcp DNS but throws
an error for option-dhcp DNS6.

This patch makes OpenVPN2 accept IPv4/IPv6 for both DNS and DNS6

V2: Put IPv6 parsing logic into own function similar as for for IPv4 DNS
V3: more documentation / help message adjustments

Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <1517391662-21325-1-git-send-email-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16413.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/openvpn.8
src/openvpn/options.c