Add insertion of gateway address to strict killswitch exceptions

This commit is contained in:
aiamnezia 2025-04-24 01:55:29 +04:00
parent e46b51a833
commit 5bf5cd43bd
2 changed files with 26 additions and 1 deletions

View file

@ -172,7 +172,7 @@ ErrorCode OpenVpnProtocol::start()
}
#if defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
IpcClient::Interface()->allowTrafficTo(QStringList(NetworkUtilities::getIPAddress(
IpcClient::Interface()->addKillSwitchExceptions(QStringList(NetworkUtilities::getIPAddress(
m_configData.value(amnezia::config_key::hostName).toString())));
#endif