summaryrefslogtreecommitdiff
path: root/src/de/blinkt
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-03-01 10:26:28 +0100
committerArne Schwabe <arne@rfc2549.org>2013-03-01 10:26:28 +0100
commit2d0208c9b28df03085943c85c2a5840f0284bc0e (patch)
tree01c579525a18e44a7278d46523b60528a5e3c399 /src/de/blinkt
parentbc2081b159d2fb8f7b20c885bbcd18de48719138 (diff)
Fix stupid bug when importing profiles
--HG-- extra : rebase_source : f00ca3a463ccd6338a9b3820ac1eeb9b5ec7e682
Diffstat (limited to 'src/de/blinkt')
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java2
1 files changed, 1 insertions, 1 deletions
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: