diff options
author | Arne Schwabe | 2013-04-30 21:29:11 +0200 |
---|---|---|
committer | Gert Doering | 2013-05-01 12:25:23 +0200 |
commit | a55b3cdb236ebfd181c24f54ead4b4c27c7bdda7 (patch) | |
tree | ab6cc8db16f4a3b71fc7f37b59763f22ca094dd1 /src/openvpn/syshead.h | |
parent | ad2df7b983eadbdc81fe0cf92543cad27b8f8882 (diff) | |
download | openvpn-a55b3cdb236ebfd181c24f54ead4b4c27c7bdda7.zip openvpn-a55b3cdb236ebfd181c24f54ead4b4c27c7bdda7.tar.gz |
Android platform specific changes.
On Android 4.0 (TARGET_ANDROID) the real opening of the tun is handled by
the (Java) application controlling OpenVPN. Instead of calling
ifconfig/route call the management to do the work. When running openvpn as
root openvpn should be compiled as TARGET_LINUX
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1367350151-23089-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7570
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/syshead.h')
-rw-r--r-- | src/openvpn/syshead.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index 4db29cc..0c3e4ee 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -212,7 +212,7 @@ #include <net/if_tap.h> #endif -#ifdef TARGET_LINUX +#if defined(TARGET_LINUX) || defined (TARGET_ANDROID) #if defined(HAVE_NETINET_IF_ETHER_H) #include <netinet/if_ether.h> |