mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-31 13:02:08 +00:00
Model: Add a version number to the tunnel
This commit is contained in:
parent
ac60a97dee
commit
8c2b9432d7
@ -175,7 +175,8 @@ extension NETunnelProviderProtocol {
|
||||
|
||||
providerBundleIdentifier = "\(appId).WireGuardNetworkExtension"
|
||||
providerConfiguration = [
|
||||
"tunnelConfiguration": serializedTunnelConfiguration
|
||||
"tunnelConfiguration": serializedTunnelConfiguration,
|
||||
"tunnelConfigurationVersion": 1
|
||||
]
|
||||
serverAddress = firstValidEndpoint?.stringRepresentation() ?? "Unspecified"
|
||||
username = tunnelConfiguration.interface.name
|
||||
|
Loading…
Reference in New Issue
Block a user