diff --git a/ESPFirewall/src/main.cpp b/ESPFirewall/src/main.cpp index 04b8c05..43d6267 100644 --- a/ESPFirewall/src/main.cpp +++ b/ESPFirewall/src/main.cpp @@ -42,4 +42,12 @@ void setup() void loop() { firewallApi->handle_client(); + WiFiClient client = wifiServer.available(); + if (client) + { + Serial.print("Client connected with IP:"); + Serial.println(client.remoteIP()); + client.stop(); + Serial.println("Client disconnected"); + } } \ No newline at end of file