summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/OpenVPN.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-05-03 22:18:56 +0200
committerArne Schwabe <arne@rfc2549.org>2012-05-03 22:18:56 +0200
commit4c991f2fc906bb66f060c15bc27a4fad0fb4805a (patch)
tree069e25f914563249f15c14e49dc24f11dfd99e9b /src/de/blinkt/openvpn/OpenVPN.java
parent3512dd8de571c8183a7e7476db30a928573d8442 (diff)
add delete Profile support
add Config Parser begin openvpn config => Vpn Profile Converter
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVPN.java')
-rw-r--r--src/de/blinkt/openvpn/OpenVPN.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPN.java b/src/de/blinkt/openvpn/OpenVPN.java
index ea6c4926..86bd3665 100644
--- a/src/de/blinkt/openvpn/OpenVPN.java
+++ b/src/de/blinkt/openvpn/OpenVPN.java
@@ -100,8 +100,7 @@ public class OpenVPN {
public static int openTunDevice() {
Log.d(TAG,"Opening tun device");
- ParcelFileDescriptor pfd = mOpenVpnService.openTun();
- return pfd.detachFd();
+ return mOpenVpnService.openTun();
}
//! Dummy method being called to force loading of JNI Libraries
public static void foo() { }