mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-29 12:02:08 +00:00
Added missing param in MockTunnels
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
This commit is contained in:
parent
b23578dc7c
commit
c2131cb757
@ -37,7 +37,7 @@ class MockTunnels {
|
||||
let tunnelConfiguration = TunnelConfiguration(interface: interface, peers: [peer])
|
||||
|
||||
let tunnelProviderManager = NETunnelProviderManager()
|
||||
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration)
|
||||
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration, isActivateOnDemandEnabled: false)
|
||||
tunnelProviderManager.localizedDescription = tunnelName
|
||||
tunnelProviderManager.isEnabled = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user