]> git.ipfire.org Git - thirdparty/openvpn.git/commit
FreeBSD 12.x workaround for IPv6 ifconfig is needed on 12.4 as well
authorGert Doering <gert@greenie.muc.de>
Mon, 6 Mar 2023 08:07:44 +0000 (09:07 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 8 Mar 2023 12:52:25 +0000 (13:52 +0100)
commit549fbd83f9d445863cc62b3a658a406afacdaeac
tree4f6f6ae8b017a0ff7d79bfbd695684de203690db
parent6a05768a71ede7a8654fc6f3104f7449509efee0
FreeBSD 12.x workaround for IPv6 ifconfig is needed on 12.4 as well

Commit 16d7f2cd4d90 tried to remove an FreeBSD 12.x ifconfig inet6
workaround based on the understanding that the upstream fix for
bug 248172 went into 12.4, but that was a misread of the code - 12.4
needs the workaround as well, fixed in 13.0.

Also extend comment to point to /etc/network.subr, which is the real
source of the problematic code

        if checkyesno ipv6_activate_all_interfaces; then
                _ipv6_opts="-ifdisabled"
        elif [ "$1" != "lo0" ]; then                   <<<<
                _ipv6_opts="ifdisabled"                <<<<
        fi

Trac: 1226

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20230306080744.66069-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26335.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/tun.c