From 878f6c54d1395097d228e6bd8c8a3fe22763da69 Mon Sep 17 00:00:00 2001 From: Jeroen Leenarts Date: Sat, 15 Sep 2018 21:26:07 +0200 Subject: [PATCH] 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 --- WireGuard/Coordinators/AppCoordinator.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/WireGuard/Coordinators/AppCoordinator.swift b/WireGuard/Coordinators/AppCoordinator.swift index b73c07c..4120bf4 100644 --- a/WireGuard/Coordinators/AppCoordinator.swift +++ b/WireGuard/Coordinators/AppCoordinator.swift @@ -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 {