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.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-09-15 21:26:07 +02:00
parent 6104546fc6
commit 878f6c54d1
1 changed files with 0 additions and 1 deletions

View File

@ -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 {