Commit 4f99d377 authored by Davide De Rosa's avatar Davide De Rosa
Browse files

Default protocol to OpenVPN

parent cdb0f55f
......@@ -75,7 +75,7 @@ class Bootstrapper {
let defaults = Client.preferences.defaults
defaults.isPersistentConnection = true
defaults.mace = false
defaults.vpnType = IPSecProfile.vpnType
defaults.vpnType = PIATunnelProfile.vpnType
defaults.vpnCustomConfigurations = [
PIATunnelProfile.vpnType: AppConfiguration.VPN.piaDefaultConfigurationBuilder.build()
]
......
......@@ -735,8 +735,8 @@ extension SettingsViewController: UITableViewDataSource, UITableViewDelegate {
switch setting {
case .vpnProtocolSelection:
let options: [String] = [
IPSecProfile.vpnType,
PIATunnelProfile.vpnType
PIATunnelProfile.vpnType,
IPSecProfile.vpnType
]
controller = OptionsViewController()
controller?.options = options
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment