diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-24 10:02:19 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-24 10:02:19 +0200 |
commit | d30bc67738d9c5a61ac319681a55f0f82a4e807f (patch) | |
tree | 16b6c7cc1d341d68e0d73e2b3f3af9dc01e924c7 /src/de | |
parent | 02fe0dc7261a615c3ed95ea408c9090788638af8 (diff) |
- fix cn remote string (closes issue #31)
- ignore a few more options in the importer
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/blinkt/openvpn/ConfigParser.java | 7 | ||||
-rw-r--r-- | src/de/blinkt/openvpn/OpenVPNThread.java | 5 | ||||
-rw-r--r-- | src/de/blinkt/openvpn/ProfileManager.java | 2 |
3 files changed, 5 insertions, 9 deletions
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java index 4447eaf..8510710 100644 --- a/src/de/blinkt/openvpn/ConfigParser.java +++ b/src/de/blinkt/openvpn/ConfigParser.java @@ -220,8 +220,11 @@ public class ConfigParser { "topology", "persist-tun", "route-metric", - "suppress-timestamps" - + "suppress-timestamps", + "management-query-passwords", + "tmp-dir", + "management-hold", + "management" }; diff --git a/src/de/blinkt/openvpn/OpenVPNThread.java b/src/de/blinkt/openvpn/OpenVPNThread.java index 503f4c4..fdb0ac0 100644 --- a/src/de/blinkt/openvpn/OpenVPNThread.java +++ b/src/de/blinkt/openvpn/OpenVPNThread.java @@ -10,14 +10,12 @@ import android.util.Log; public class OpenVPNThread implements Runnable {
private static final String TAG = "OpenVPN";
- private OpenVpnService mService;
private String[] mArgv;
private Process mProcess;
private String mNativeDir;
public OpenVPNThread(OpenVpnService service,String[] argv, String nativelibdir)
{
- mService = service;
mArgv = argv;
mNativeDir = nativelibdir;
}
@@ -31,9 +29,6 @@ public class OpenVPNThread implements Runnable { try {
Log.i(TAG, "Starting openvpn");
startOpenVPNThreadArgs(mArgv);
-
-
- //}
Log.i(TAG, "Giving up");
} catch (Exception e) {
Log.e(TAG, "Got " + e.toString());
diff --git a/src/de/blinkt/openvpn/ProfileManager.java b/src/de/blinkt/openvpn/ProfileManager.java index eb94505..0164fe5 100644 --- a/src/de/blinkt/openvpn/ProfileManager.java +++ b/src/de/blinkt/openvpn/ProfileManager.java @@ -10,8 +10,6 @@ import java.util.HashMap; import java.util.HashSet; import java.util.Set; -import de.blinkt.openvpn.R.string; - import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; |