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