kopia lustrzana https://github.com/meshtastic/firmware
Check if MQTT remote IP is private (#5627)
rodzic
5fed679d33
commit
9a10907a2d
|
@ -438,6 +438,9 @@ 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();
|
||||
|
|
Ładowanie…
Reference in New Issue