diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index d61e87855f..ba47e26e3f 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -457,6 +457,7 @@ void MQTT::reconnect() enabled = true; // Start running background process again runASAP = true; reconnectCount = 0; + isMqttServerAddressPrivate = isPrivateIpAddress(mqttClient.remoteIP()); publishNodeInfo(); sendSubscriptions();