Use ping check for tun interfce
This commit is contained in:
parent
319043818a
commit
eff460b227
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ void VpnConnection::onConnectionStateChanged(Vpn::ConnectionState state)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (container != DockerContainer::Ipsec) {
|
if (container != DockerContainer::Ipsec) {
|
||||||
IpcClient::Interface()->startNetworkCheck(remoteAddress(), m_vpnProtocol->vpnLocalAddress());
|
IpcClient::Interface()->startNetworkCheck(m_vpnProtocol->vpnLocalAddress(), m_vpnProtocol->vpnLocalAddress());
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (state == Vpn::ConnectionState::Error) {
|
} else if (state == Vpn::ConnectionState::Error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue