diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-21 18:50:32 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-21 18:50:32 +0100 |
commit | ec031b1f19c7b85b52ef478b8dfe3f8e173cf046 (patch) | |
tree | c8c6e394d51a8c977c0f3b73f4389755a4fa4842 /WireGuard/WireGuard/Tunnel/MockTunnels.swift | |
parent | Updated NETunnelProvider save format (diff) | |
download | wireguard-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 '')
-rw-r--r-- | WireGuard/WireGuard/Tunnel/MockTunnels.swift | 2 |
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 |