resetIpStack added

This commit is contained in:
pokamest 2021-12-15 14:53:07 +03:00
parent 5aa47d35e7
commit 343e6a50df
8 changed files with 42 additions and 0 deletions

View file

@ -47,6 +47,7 @@ void VpnConnection::onConnectionStateChanged(VpnProtocol::VpnConnectionState sta
{
if (IpcClient::Interface()) {
if (state == VpnProtocol::Connected){
IpcClient::Interface()->resetIpStack();
IpcClient::Interface()->flushDns();
if (m_settings.routeMode() != Settings::VpnAllSites) {