Fixes for Windows killswitch (#1565)
* fix: Win OpenVPN with strict mode killswitch * Fixes for Windows killswitch
This commit is contained in:
parent
b86356b0cc
commit
e59a48f9f4
2 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ ErrorCode OpenVpnProtocol::start()
|
|||
return lastError();
|
||||
}
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
|
||||
#ifdef AMNEZIA_DESKTOP
|
||||
IpcClient::Interface()->addKillSwitchAllowedRange(QStringList(NetworkUtilities::getIPAddress(
|
||||
m_configData.value(amnezia::config_key::hostName).toString())));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue