diff --git a/client/platforms/ios/ios_controller.mm b/client/platforms/ios/ios_controller.mm index e81f5ac77..1a685aa03 100644 --- a/client/platforms/ios/ios_controller.mm +++ b/client/platforms/ios/ios_controller.mm @@ -261,7 +261,8 @@ NETunnelProviderProtocol *tunnelProtocol = (NETunnelProviderProtocol *)m_currentTunnel.protocolConfiguration; if (session /* && session == TunnelManager.session */ ) { qDebug() << "IosController::vpnStatusDidChange" << iosStatusToState(session.status) << session; - if (tunnelProtocol.providerConfiguration[@"wireguard"] != nil && session.status == NEVPNStatusConnected) + if (tunnelProtocol.providerConfiguration[@"wireguard"] != nil && + (session.status == NEVPNStatusConnected || session.status == NEVPNStatusConnecting)) { // use last_handshake_time for check status connected for WireGuard return;