Commit ff05df81 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch 'release/1.1.8' into release/2.0.0

parents 0f7655db ac359ff1
......@@ -81,6 +81,9 @@ public class IKEv2Profile: NetworkExtensionProfile {
return
}
// prevent reconnection
self.currentVPN.isOnDemandEnabled = false
self.currentVPN.saveToPreferences { (error) in
if let error = error {
callback?(error)
......
......@@ -96,6 +96,9 @@ public class IPSecProfile: NetworkExtensionProfile {
callback?(error)
return
}
// prevent reconnection
self.currentVPN.isOnDemandEnabled = false
self.currentVPN.saveToPreferences { (error) in
if let error = error {
......
......@@ -85,6 +85,9 @@ public class PIATunnelProfile: NetworkExtensionProfile {
return
}
// prevent reconnection
vpn.isOnDemandEnabled = false
vpn.saveToPreferences { (error) in
if let error = error {
callback?(error)
......
Supports Markdown
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