Hi,
On Fri, Apr 26, 2013 at 09:54:03PM +0200, Arne Schwabe wrote:
> diff --git a/src/openvpn/init.c b/src/openvpn/init.c
> index 979ba23..f08583b 100644
> --- a/src/openvpn/init.c
> +++ b/src/openvpn/init.c
[..]
> - if (!c->options.route_delay_defined)
> + if ((ifconfig_order() == ROUTE_
Hi,
On Fri, Apr 26, 2013 at 09:54:05PM +0200, Arne Schwabe wrote:
> +/*
> + * The android control method will instruct the GUI part of openvpn to
> + * do the route/ifconfig/open tun command.
> + */
> +bool management_android_control (struct management *man, const char
> *command, const char *ms
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
---
s
---
src/openvpn/init.c | 13 ++---
src/openvpn/tun.h | 11 +++
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index 979ba23..33725e2 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -1428,7 +1428,14 @@ do_open