Fix paren typo
"I am very anti-paren." --Eric Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
7b9d4cb9e3
commit
9295895e3a
|
@ -38,7 +38,7 @@ class MockTunnels {
|
|||
|
||||
let tunnelProviderManager = NETunnelProviderManager()
|
||||
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration)
|
||||
tunnelProviderManager.localizedDescription = (tunnelConfiguration).interface.name
|
||||
tunnelProviderManager.localizedDescription = tunnelConfiguration.interface.name
|
||||
tunnelProviderManager.isEnabled = true
|
||||
|
||||
return tunnelProviderManager
|
||||
|
|
|
@ -67,7 +67,7 @@ class TunnelsManager {
|
|||
|
||||
let tunnelProviderManager = NETunnelProviderManager()
|
||||
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration)
|
||||
tunnelProviderManager.localizedDescription = (tunnelConfiguration).interface.name
|
||||
tunnelProviderManager.localizedDescription = tunnelConfiguration.interface.name
|
||||
tunnelProviderManager.isEnabled = true
|
||||
|
||||
activateOnDemandSetting.apply(on: tunnelProviderManager)
|
||||
|
@ -124,7 +124,7 @@ class TunnelsManager {
|
|||
}
|
||||
|
||||
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration)
|
||||
tunnelProviderManager.localizedDescription = (tunnelConfiguration).interface.name
|
||||
tunnelProviderManager.localizedDescription = tunnelConfiguration.interface.name
|
||||
tunnelProviderManager.isEnabled = true
|
||||
|
||||
let isActivatingOnDemand = !tunnelProviderManager.isOnDemandEnabled && activateOnDemandSetting.isActivateOnDemandEnabled
|
||||
|
|
Loading…
Reference in New Issue