Revert "Check if MQTT remote IP is private (#5627)" (#5636)

This reverts commit 9a10907a2d.
This commit is contained in:
Ben Meadors 2024-12-21 07:49:25 -06:00 committed by GitHub
parent d9b287880f
commit fb7866fca7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();