diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-12-01 01:19:32 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-12-01 01:19:32 +0100 |
commit | 9d7d2185426a51d31f0c70bfe96c5254d1c9df17 (patch) | |
tree | f9bdd7844a09ffd6573d301dca1a23e64aa33723 /main | |
parent | 3a6855aff9aef5aef664ce56d8a930458474b88a (diff) |
Add one remote on profile creation
--HG--
extra : rebase_source : 01b173e1c3910ce2270549b6931dd98a6064158c
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 3 |
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) { |