diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index ff7162db60..e1481d42ce 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -444,9 +444,6 @@ void MQTT::reconnect() enabled = true; // Start running background process again runASAP = true; reconnectCount = 0; -#if !defined(ARCH_PORTDUINO) - isMqttServerAddressPrivate = isPrivateIpAddress(mqttClient.remoteIP()); -#endif publishNodeInfo(); sendSubscriptions();