| 316 | } |
| 317 | |
| 318 | std::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 | |
| 331 | std::string setCustomDnsWhileConnected(const std::string &pars) |
| 332 | { |
nothing calls this directly
no test coverage detected