mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-03-02 11:42:09 +00:00
Log migration of tunnel configuration
This commit is contained in:
parent
85899545b5
commit
74f55febab
@ -63,6 +63,7 @@ extension NETunnelProviderProtocol {
|
||||
guard let oldConfig = providerConfiguration?["WgQuickConfig"] as? String else { return false }
|
||||
providerConfiguration = nil
|
||||
guard passwordReference == nil else { return true }
|
||||
wg_log(.debug, message: "Migrating tunnel configuration '\(name)'")
|
||||
passwordReference = Keychain.makeReference(containing: oldConfig, called: name)
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user