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

This reverts commit 9a10907a2d.
pull/5639/head
Ben Meadors 2024-12-21 07:49:25 -06:00 zatwierdzone przez GitHub
rodzic d9b287880f
commit fb7866fca7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

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