Commit 61bcd6a9 authored by Jose Blaya's avatar Jose Blaya
Browse files

Reinstall the VPN profile after change encryption or integrity

parent 3bfa5ae6
......@@ -439,10 +439,10 @@ extension Client.Preferences {
queue.append(VPNActionDisconnectAndReinstall())
}
if (ikeV2IntegrityAlgorithm != target.ikeV2IntegrityAlgorithm) {
queue.append(VPNActionDisconnectAndReinstall())
queue.append(VPNActionReinstall())
}
if (ikeV2EncryptionAlgorithm != target.ikeV2EncryptionAlgorithm) {
queue.append(VPNActionDisconnectAndReinstall())
queue.append(VPNActionReinstall())
}
if let configuration = vpnCustomConfigurations[vpnType],
let targetConfiguration = target.activeVPNCustomConfiguration,
......
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