Refresh killswitch mode when it toggled

This commit is contained in:
Mykola Baibuz 2025-02-17 22:43:38 +02:00
parent 1fa96a09a0
commit 7a3520cb20
8 changed files with 28 additions and 4 deletions

View file

@ -203,3 +203,8 @@ bool IpcServer::enablePeerTraffic(const QJsonObject &configStr)
{
return KillSwitch::instance()->enablePeerTraffic(configStr);
}
bool IpcServer::refreshKillSwitch()
{
return KillSwitch::instance()->refresh();
}