]> git.ipfire.org Git - thirdparty/openvpn.git/commit
attempt to add IPv6 route even when no IPv6 address was configured
authorAntonio Quartulli <a@unstable.cc>
Tue, 31 Jan 2017 11:21:31 +0000 (19:21 +0800)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Feb 2017 19:29:49 +0000 (20:29 +0100)
commit2b7650e7ec9241745e4f66c932d6cffaece927d7
tree5b093cc12bd28b3cd28fa2d2cc945491cd4d1a24
parente82733a1ab78062feca28578fe505b275a2356a6
attempt to add IPv6 route even when no IPv6 address was configured

Even if no IPv6 address is configured, OpenVPN still supports
transporting IPv6 segments, therefore adding an IPv6 route
should always be allowed.

However, the route might fail to be installed or may just not work
as expected, therefore, a proper warning should be printed to inform
the user of the possible pitfall.

Always allow adding an IPv6 route and print a WARNING when
no IPv6 address is configured for the interface.

Trac: #832
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20170131112131.13570-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13994.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/route.c