basic function to check client
This commit is contained in:
parent
dfb92d6bf9
commit
8e29479aea
3 changed files with 19 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "Utils.hpp"
|
||||
#include "Storage.hpp"
|
||||
#include "WiFiClient.h"
|
||||
|
||||
namespace fw
|
||||
{
|
||||
|
@ -18,6 +19,8 @@ namespace fw
|
|||
firewall_rule_t *get_rule_from_firewall(const uint8_t key);
|
||||
ok_t delete_rule_from_firewall(const uint8_t key);
|
||||
|
||||
bool is_client_allowed(WiFiClient client);
|
||||
|
||||
protected:
|
||||
uint8_t amount_of_rules = 0;
|
||||
firewall_rule_t *rule_head = NULL;
|
||||
|
|
Reference in a new issue