upstream dev sync + bump to 1.18

This commit is contained in:
liquidraver
2026-10-15 20:14:53 +02:00
parent ec55eb0f4c
commit 38c59ee10f
14 changed files with 117 additions and 104 deletions
+1
View File
@@ -189,6 +189,7 @@ int RegionMap::getTransportKeysFor(const RegionEntry& src, TransportKey dest[],
}
RegionEntry* RegionMap::findMatch(mesh::Packet* packet, uint8_t mask) {
if (packet->transport_codes[0] == 0) return &wildcard;
for (int i = 0; i < num_regions; i++) {
auto region = &regions[i];
if ((region->flags & mask) == 0) { // does region allow this? (per 'mask' param)