From 1f2cb6e021d3d517c34da4cdf1d2c957acea378d Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Wed, 4 May 2022 09:13:40 +0200 Subject: [PATCH] return if ip and port are not included in firewall --- ESPFirewall/lib/Firewall/src/Firewall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESPFirewall/lib/Firewall/src/Firewall.cpp b/ESPFirewall/lib/Firewall/src/Firewall.cpp index b8c0536..5925cbe 100644 --- a/ESPFirewall/lib/Firewall/src/Firewall.cpp +++ b/ESPFirewall/lib/Firewall/src/Firewall.cpp @@ -134,6 +134,6 @@ namespace fw Serial.print(client.remoteIP()); Serial.print(":"); Serial.println(client.remotePort()); - return true; + return !is_included_in_firewall(ip, port); } }