Merge pull request #3682 from meshcore-dev/fix-scope-zero

scope 0 rule fixes
This commit is contained in:
ripplebiz authored and GitHub committed 2026-10-29 12:17:09 +11:00
commit f39fa53aea
3 files changed
+5 -1

No files matched your search

@@ -8,6 +8,9 @@ static Packet makeFlood(uint8_t route_type, uint8_t payload_type, uint8_t hops)
p.header = route_type | (payload_type << PH_TYPE_SHIFT);
p.setPathHashSizeAndCount(1, hops);
p.payload_len = 1;
if (route_type == ROUTE_TYPE_TRANSPORT_FLOOD) {
p.transport_codes[0] = 1; // has to be non-zero
}
return p;
}