Skip to content

Commit

Permalink
Fixes meshtastic#5766 Updated MQTT privateCidrRanges to add Tailscale (
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaositek authored Jan 29, 2025
1 parent 78da8f6 commit cd8592e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mqtt/MQTT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ bool isPrivateIpAddress(const IPAddress &ip)
{.network = 169u << 24 | 254 << 16, .mask = 0xffff0000}, // 169.254.0.0/16
{.network = 10u << 24, .mask = 0xff000000}, // 10.0.0.0/8
{.network = 127u << 24 | 1, .mask = 0xffffffff}, // 127.0.0.1/32
{.network = 100u << 24 | 64 << 16, .mask = 0xffc00000}, // 100.64.0.0/10
};
const uint32_t addr = ntohl(ip);
for (const auto &cidrRange : privateCidrRanges) {
Expand Down

0 comments on commit cd8592e

Please sign in to comment.