From 0d2432a15b366746d22013f3625c5af304a5f548 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 3 Aug 2021 11:51:11 +0200 Subject: [PATCH] Fix TCP bridge compile error --- tasmota/xdrv_41_tcp_bridge.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_41_tcp_bridge.ino b/tasmota/xdrv_41_tcp_bridge.ino index c6517e15c..3d4d3bec5 100644 --- a/tasmota/xdrv_41_tcp_bridge.ino +++ b/tasmota/xdrv_41_tcp_bridge.ino @@ -35,7 +35,7 @@ WiFiServer *server_tcp = nullptr; WiFiClient client_tcp[TCP_BRIDGE_CONNECTIONS]; uint8_t client_next = 0; uint8_t *tcp_buf = nullptr; // data transfer buffer -IPAddress ip_filter = 0; +IPAddress ip_filter; #include TasmotaSerial *TCPSerial = nullptr; @@ -62,7 +62,7 @@ void TCPLoop(void) // check for a new client connection if ((server_tcp) && (server_tcp->hasClient())) { WiFiClient new_client = server_tcp->available(); - + AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_TCP "Got connection from %s"), new_client.remoteIP().toString().c_str()); // Check for IP filtering if it's enabled. if (ip_filter) {