Write some helpers to compare

This commit is contained in:
Florian Hoss 2022-06-12 14:58:24 +02:00
parent 8353443ea4
commit b3d9c2a646
4 changed files with 14 additions and 13 deletions

View file

@ -19,7 +19,7 @@ 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_included_in_firewall(const char *ip, const uint16_t port);
bool is_included_in_firewall(String &ip, const uint32_t &port);
bool is_client_allowed(WiFiClient client);
protected: