* RegionMap: inverted 'flags' to _deny_ bits

* Mesh: new filterRecvFloodPacket() for overriding
* repeater CLI: 'allow' -> 'allowf' or 'denyf'
This commit is contained in:
Scott Powell
2025-11-05 14:34:44 +11:00
parent d9ff3a4d02
commit 9ebeb477aa
8 changed files with 43 additions and 26 deletions

View File

@@ -90,6 +90,8 @@ DispatcherAction Mesh::onRecvPacket(Packet* pkt) {
return ACTION_RELEASE; // this node is NOT the next hop (OR this packet has already been forwarded), so discard.
}
if (pkt->isRouteFlood() && filterRecvFloodPacket(pkt)) return ACTION_RELEASE;
DispatcherAction action = ACTION_RELEASE;
switch (pkt->getPayloadType()) {