return if ip and port are not included in firewall

This commit is contained in:
Florian Hoss 2022-05-04 09:13:40 +02:00
parent edacebb3a6
commit 1f2cb6e021

View file

@ -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);
}
}