mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-02-20 23:02:06 +00:00
We do not support "on demand" right now.
On demand has the effect of the VPN tunnel being started "on demand" based on a set of triggering criteria. Currently there are no criteria in place, so it always triggers.
This commit is contained in:
parent
54aa2767b3
commit
0ec034501e
@ -482,7 +482,6 @@ extension AppCoordinator: TunnelsTableViewControllerDelegate {
|
||||
let connectRule = NEOnDemandRuleConnect()
|
||||
connectRule.interfaceTypeMatch = .any
|
||||
manager.onDemandRules = [connectRule]
|
||||
// manager.isOnDemandEnabled = true
|
||||
|
||||
manager.saveToPreferences { (error) in
|
||||
if let error = error {
|
||||
|
Loading…
Reference in New Issue
Block a user