return if ip and port are not included in firewall
This commit is contained in:
parent
edacebb3a6
commit
1f2cb6e021
1 changed files with 1 additions and 1 deletions
|
@ -134,6 +134,6 @@ namespace fw
|
||||||
Serial.print(client.remoteIP());
|
Serial.print(client.remoteIP());
|
||||||
Serial.print(":");
|
Serial.print(":");
|
||||||
Serial.println(client.remotePort());
|
Serial.println(client.remotePort());
|
||||||
return true;
|
return !is_included_in_firewall(ip, port);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue