aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/NETunnelProviderProtocol+Extension.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Model, Tunnels manager: Rewrite the model for VPN-on-demandRoopesh Chander2018-11-121-1/+1
| | | | | | | | | The VPN-on-demand settings should not be part of the tunnel configuration. Rather, the onDemandRules stored in the tunnel provider configuration serve as the one place where the VPN-on-demand settings are stored. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Add activationType to tunnel configurationRoopesh Chander2018-11-111-1/+1
| | | | | | | | | We make sure existing tunnel serializations can be deserialized correctly. We also bump up the tunnelConfigurationVersion, because the tunnel configuration contents have changed. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: NETunnelProviderProtocol extension code should be sharedRoopesh Chander2018-11-081-0/+35
Signed-off-by: Roopesh Chander <roop@roopc.net>