summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-12-01 01:19:32 +0100
committerArne Schwabe <arne@rfc2549.org>2014-12-01 01:19:32 +0100
commit9d7d2185426a51d31f0c70bfe96c5254d1c9df17 (patch)
treef9bdd7844a09ffd6573d301dca1a23e64aa33723
parent3a6855aff9aef5aef664ce56d8a930458474b88a (diff)
Add one remote on profile creation
--HG-- extra : rebase_source : 01b173e1c3910ce2270549b6931dd98a6064158c
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
index fbc1dfff..606c563c 100644
--- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
+++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
@@ -165,6 +165,9 @@ public class VpnProfile implements Serializable, Cloneable {
mUuid = UUID.randomUUID();
mName = name;
mProfileVersion = CURRENT_PROFILE_VERSION;
+
+ mConnections = new Connection[1];
+ mConnections[0] = new Connection();
}
public static String openVpnEscape(String unescaped) {