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:
parent
6104546fc6
commit
878f6c54d1
|
@ -482,7 +482,6 @@ extension AppCoordinator: TunnelsTableViewControllerDelegate {
|
||||||
let connectRule = NEOnDemandRuleConnect()
|
let connectRule = NEOnDemandRuleConnect()
|
||||||
connectRule.interfaceTypeMatch = .any
|
connectRule.interfaceTypeMatch = .any
|
||||||
manager.onDemandRules = [connectRule]
|
manager.onDemandRules = [connectRule]
|
||||||
// manager.isOnDemandEnabled = true
|
|
||||||
|
|
||||||
manager.saveToPreferences { (error) in
|
manager.saveToPreferences { (error) in
|
||||||
if let error = error {
|
if let error = error {
|
||||||
|
|
Loading…
Reference in New Issue