aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorJeroen Leenarts <jeroen.leenarts@gmail.com>2018-09-15 21:26:07 +0200
committerJeroen Leenarts <jeroen.leenarts@gmail.com>2018-09-15 21:26:07 +0200
commit878f6c54d1395097d228e6bd8c8a3fe22763da69 (patch)
tree080e175fca7e0e2546362aee10d70e2fd323eb4c /WireGuard
parentAdd intermediate "Info" screen. (diff)
downloadwireguard-apple-878f6c54d1395097d228e6bd8c8a3fe22763da69.tar.xz
wireguard-apple-878f6c54d1395097d228e6bd8c8a3fe22763da69.zip
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>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/Coordinators/AppCoordinator.swift1
1 files changed, 0 insertions, 1 deletions
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 {