diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-03-01 10:26:28 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-03-01 10:26:28 +0100 |
commit | 2d0208c9b28df03085943c85c2a5840f0284bc0e (patch) | |
tree | 01c579525a18e44a7278d46523b60528a5e3c399 | |
parent | bc2081b159d2fb8f7b20c885bbcd18de48719138 (diff) |
Fix stupid bug when importing profiles
--HG--
extra : rebase_source : f00ca3a463ccd6338a9b3820ac1eeb9b5ec7e682
-rw-r--r-- | AndroidManifest.xml | 4 | ||||
-rw-r--r-- | src/de/blinkt/openvpn/ConfigParser.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f087d8cd..8da35615 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,8 +18,8 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="de.blinkt.openvpn" - android:versionCode="59" - android:versionName="0.5.32" > + android:versionCode="60" + android:versionName="0.5.33" > <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java index 57649547..724772eb 100644 --- a/src/de/blinkt/openvpn/ConfigParser.java +++ b/src/de/blinkt/openvpn/ConfigParser.java @@ -345,7 +345,7 @@ public class ConfigParser { // Parse remote config Vector<Vector<String>> remotes = getAllOption("remote",1,3); - if(remotes!=null && remotes.size()>1 && extraRemotesAsCustom) { + if(remotes!=null && remotes.size()>=1 ) { Vector<String> remote = remotes.get(0); switch (remote.size()) { case 4: |