MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / firewallActualState

Function firewallActualState

src/helper/windows/process_command.cpp:318–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318std::string firewallActualState(const std::string &pars)
319{
320 bool state;
321 if (FirewallFilter::instance().currentStatus()) {
322 spdlog::debug("firewallActualState, On");
323 state = true;
324 } else {
325 spdlog::debug("firewallActualState, Off");
326 state = false;
327 }
328 return serializeResult(state);
329}
330
331std::string setCustomDnsWhileConnected(const std::string &pars)
332{

Callers

nothing calls this directly

Calls 2

serializeResultFunction · 0.85
currentStatusMethod · 0.80

Tested by

no test coverage detected