Commit 4ceb613b authored by Jose Blaya's avatar Jose Blaya
Browse files

log IKEv2 configuration details

parent dc8b07b4
......@@ -52,6 +52,7 @@ public class IKEv2Profile: NetworkExtensionProfile {
/// :nodoc:
public func save(withConfiguration configuration: VPNConfiguration, force: Bool, _ callback: SuccessLibraryCallback?) {
currentVPN.loadFromPreferences { (error) in
if let error = error {
callback?(error)
......@@ -163,6 +164,11 @@ public class IKEv2Profile: NetworkExtensionProfile {
cfg.disconnectOnSleep = false
cfg.useExtendedAuthentication = true
log.debug("IKEv2 Configuration")
log.debug("-------------------")
log.debug(cfg)
log.debug("-------------------")
return cfg
}
}
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