Relax protocol type in base VPN configuration
NETunnelProviderProtocol -> NEVPNProtocol
This commit is contained in:
parent
9a00befca9
commit
e6e37cd528
|
@ -32,14 +32,14 @@ public struct NetworkExtensionVPNConfiguration: VPNConfiguration {
|
||||||
/// :nodoc:
|
/// :nodoc:
|
||||||
public var title: String
|
public var title: String
|
||||||
|
|
||||||
/// The `NETunnelProviderProtocol` object embedding tunnel configuration.
|
/// The `NEVPNProtocol` object embedding tunnel configuration.
|
||||||
public let protocolConfiguration: NETunnelProviderProtocol
|
public let protocolConfiguration: NEVPNProtocol
|
||||||
|
|
||||||
/// The on-demand rules to establish.
|
/// The on-demand rules to establish.
|
||||||
public let onDemandRules: [NEOnDemandRule]
|
public let onDemandRules: [NEOnDemandRule]
|
||||||
|
|
||||||
/// :nodoc:
|
/// :nodoc:
|
||||||
public init(title: String, protocolConfiguration: NETunnelProviderProtocol, onDemandRules: [NEOnDemandRule]) {
|
public init(title: String, protocolConfiguration: NEVPNProtocol, onDemandRules: [NEOnDemandRule]) {
|
||||||
self.title = title
|
self.title = title
|
||||||
self.protocolConfiguration = protocolConfiguration
|
self.protocolConfiguration = protocolConfiguration
|
||||||
self.onDemandRules = onDemandRules
|
self.onDemandRules = onDemandRules
|
||||||
|
|
Loading…
Reference in New Issue