From: Heiko Hund Date: Fri, 27 May 2022 01:24:54 +0000 (+0200) Subject: remove foreign_option() call for IPv6 DNS servers X-Git-Tag: v2.6_beta1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c4cf1a6490b875a4c666d781c30f1033f739118;p=thirdparty%2Fopenvpn.git remove foreign_option() call for IPv6 DNS servers The call survived since the initial commit 94bfc256d, where it was added as a fallback, since no IPv6 DNS server handling was implemented at the time. Now there's dhcp_option_dns6_parse() which adds the servers to the tuntap options, just like how it is done with the v4 servers. Signed-off-by: Heiko Hund Acked-by: Gert Doering Message-Id: <20220527012457.1819262-2-heiko@ist.eigentlich.net> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24433.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 20cc849dc..65f4d889b 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -7825,7 +7825,6 @@ add_option(struct options *options, if (strstr(p[2], ":")) { ipv6dns = true; - foreign_option(options, p, 3, es); dhcp_option_dns6_parse(p[2], o->dns6, &o->dns6_len, msglevel); } else