]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
Log migration of tunnel configuration
authorRoopesh Chander <roop@roopc.net>
Tue, 12 Feb 2019 13:47:32 +0000 (19:17 +0530)
committerRoopesh Chander <roop@roopc.net>
Tue, 12 Feb 2019 13:47:32 +0000 (19:17 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift

index a57d5ff7930ae76e2287b1e536d5d28c8bb896ef..e3da61a1e2aed2242cf7b7a3dfa3ac2196e9c581 100644 (file)
@@ -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
     }