mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-19 16:29:31 +00:00
Check if MQTT remote IP is private
This commit is contained in:
parent
2fd5a4848a
commit
afc7528ad7
@ -457,6 +457,7 @@ void MQTT::reconnect()
|
|||||||
enabled = true; // Start running background process again
|
enabled = true; // Start running background process again
|
||||||
runASAP = true;
|
runASAP = true;
|
||||||
reconnectCount = 0;
|
reconnectCount = 0;
|
||||||
|
isMqttServerAddressPrivate = isPrivateIpAddress(mqttClient.remoteIP());
|
||||||
|
|
||||||
publishNodeInfo();
|
publishNodeInfo();
|
||||||
sendSubscriptions();
|
sendSubscriptions();
|
||||||
|
Loading…
Reference in New Issue
Block a user