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
ac359ff1
Commit
ac359ff1
authored
Feb 21, 2019
by
Jose Blaya
Browse files
Refactor
parent
af22fcbd
Changes
3
Hide whitespace changes
Inline
Side-by-side
PIALibrary/Sources/Library/VPN/IKEv2Profile.swift
View file @
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
)
...
...
PIALibrary/Sources/Library/VPN/IPSecProfile.swift
View file @
ac359ff1
...
...
@@ -95,6 +95,9 @@ public class IPSecProfile: NetworkExtensionProfile {
callback
?(
error
)
return
}
// prevent reconnection
self
.
currentVPN
.
isOnDemandEnabled
=
false
self
.
currentVPN
.
saveToPreferences
{
(
error
)
in
if
let
error
=
error
{
...
...
PIALibrary/Sources/VPN/PIATunnelProfile.swift
View file @
ac359ff1
...
...
@@ -85,6 +85,9 @@ public class PIATunnelProfile: NetworkExtensionProfile {
return
}
// prevent reconnection
vpn
.
isOnDemandEnabled
=
false
vpn
.
saveToPreferences
{
(
error
)
in
if
let
error
=
error
{
callback
?(
error
)
...
...
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