Model: Add a version number to the tunnel
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
c8fba951ad
commit
0fcf48ce75
|
@ -175,7 +175,8 @@ extension NETunnelProviderProtocol {
|
||||||
|
|
||||||
providerBundleIdentifier = "\(appId).WireGuardNetworkExtension"
|
providerBundleIdentifier = "\(appId).WireGuardNetworkExtension"
|
||||||
providerConfiguration = [
|
providerConfiguration = [
|
||||||
"tunnelConfiguration": serializedTunnelConfiguration
|
"tunnelConfiguration": serializedTunnelConfiguration,
|
||||||
|
"tunnelConfigurationVersion": 1
|
||||||
]
|
]
|
||||||
serverAddress = firstValidEndpoint?.stringRepresentation() ?? "Unspecified"
|
serverAddress = firstValidEndpoint?.stringRepresentation() ?? "Unspecified"
|
||||||
username = tunnelConfiguration.interface.name
|
username = tunnelConfiguration.interface.name
|
||||||
|
|
Loading…
Reference in New Issue