summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/ConfigParser.java
diff options
context:
space:
mode:
authorcyBerta <richy@cyborgsociety.org>2014-03-18 12:18:23 +0100
committercyBerta <richy@cyborgsociety.org>2014-03-18 12:18:23 +0100
commitbb503590fc648e6b97f0f2b95156d4179cc33a11 (patch)
treebcbf8d58eec1eb3b0a6de486a1a88c553ee0c17f /src/se/leap/openvpn/ConfigParser.java
parent608653a64648fd6d7e37987ee4a160a3dd68f775 (diff)
parent1df967637d432bccc405f0a2e7ce46dc236cffff (diff)
Merge branch 'bug/connection-to-calyx.net-fails-and-app-crashes-#4550' into develop
Diffstat (limited to 'src/se/leap/openvpn/ConfigParser.java')
-rw-r--r--src/se/leap/openvpn/ConfigParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/openvpn/ConfigParser.java b/src/se/leap/openvpn/ConfigParser.java
index 36585d29..df4eae1b 100644
--- a/src/se/leap/openvpn/ConfigParser.java
+++ b/src/se/leap/openvpn/ConfigParser.java
@@ -357,7 +357,7 @@ public class ConfigParser {
}
// Parse remote config
- Vector<String> location = getOption("location",1,2);
+ Vector<String> location = getOption("location",0,2);
if(location != null && location.size() == 2){
np.mLocation = location.get(1).replace("__", ", ");
}