aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Tunnel/MockTunnels.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-21 18:50:32 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-21 18:50:32 +0100
commitec031b1f19c7b85b52ef478b8dfe3f8e173cf046 (patch)
treec8c6e394d51a8c977c0f3b73f4389755a4fa4842 /WireGuard/WireGuard/Tunnel/MockTunnels.swift
parentUpdated NETunnelProvider save format (diff)
downloadwireguard-apple-ec031b1f19c7b85b52ef478b8dfe3f8e173cf046.tar.xz
wireguard-apple-ec031b1f19c7b85b52ef478b8dfe3f8e173cf046.zip
Get rid of superflous isActivateOnDemandEnabled key
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/Tunnel/MockTunnels.swift')
-rw-r--r--WireGuard/WireGuard/Tunnel/MockTunnels.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Tunnel/MockTunnels.swift b/WireGuard/WireGuard/Tunnel/MockTunnels.swift
index 7be6f5c..764d860 100644
--- a/WireGuard/WireGuard/Tunnel/MockTunnels.swift
+++ b/WireGuard/WireGuard/Tunnel/MockTunnels.swift
@@ -37,7 +37,7 @@ class MockTunnels {
let tunnelConfiguration = TunnelConfiguration(interface: interface, peers: [peer])
let tunnelProviderManager = NETunnelProviderManager()
- tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration, isActivateOnDemandEnabled: false)
+ tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration)
tunnelProviderManager.localizedDescription = tunnelName
tunnelProviderManager.isEnabled = true