diff options
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift index 814ed59..f0ae3e7 100644 --- a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift +++ b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift @@ -41,6 +41,12 @@ class PacketTunnelProvider: NEPacketTunnelProvider { let tunnelName = tunnelConfiguration.interface.name wg_log(.info, message: "Starting tunnel '\(tunnelName)'") + if activationAttemptId != nil { + wg_log(.info, staticMessage: "Tunnel activated from the app") + } else { + wg_log(.info, staticMessage: "Tunnel not activated from the app") + } + let isActivateOnDemandEnabled = tunnelProviderProtocol.isActivateOnDemandEnabled if isActivateOnDemandEnabled { wg_log(.info, staticMessage: "Tunnel has Activate On Demand enabled") |