]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Adjust Android code after sitnl patch merge
authorArne Schwabe <arne@rfc2549.org>
Thu, 15 Aug 2019 12:10:53 +0000 (14:10 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 15 Aug 2019 15:59:39 +0000 (17:59 +0200)
commit26e5b80096a78ec7d5e7bcd15f81155be5fde2ec
treefdc154e35f28084c243c540ce42ebf3ffe1f9db6
parentac4ceada14b9cb8d1a6180a2e1e07d81af8e34f6
Adjust Android code after sitnl patch merge

It turns out that the only part of Android that still shares routing
code with Linux is the get_default_ipv6 method.

Instead of fixing a method that makes little sense on Android anyway,
have a method that returns a fake ipv6 gateway like for ipv4.

Patch V2: Instead adding ANDROID to a long list of ifdefs, change this
to a non LINUX ifdef

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