mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
Check if MQTT remote IP is private (#5627)
This commit is contained in:
parent
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();
|
||||
|
Loading…
Reference in New Issue
Block a user