Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
liberty
tunnel
liberty-tunnel-client-library-apple
Commits
4ceb613b
Commit
4ceb613b
authored
Jan 24, 2019
by
Jose Blaya
Browse files
log IKEv2 configuration details
parent
dc8b07b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
PIALibrary/Sources/Library/VPN/IKEv2Profile.swift
View file @
4ceb613b
...
...
@@ -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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment