mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-14 10:57:31 +00:00
simplify packet manager and dispatcher
This commit is contained in:
@@ -303,11 +303,10 @@ void Dispatcher::checkRecv()
|
||||
logRx(pkt, pkt->getRawLength(), score);
|
||||
if (pkt->isRouteFlood()) {
|
||||
n_recv_flood++;
|
||||
processRecvPacket(pkt);
|
||||
} else {
|
||||
n_recv_direct++;
|
||||
processRecvPacket(pkt);
|
||||
}
|
||||
processRecvPacket(pkt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user