Release packets the interface declines to send (#11087)

This commit is contained in:
Thomas Göttgens
2026-07-20 13:42:59 +02:00
committed by GitHub
parent 829ff80a09
commit 290967f739
5 changed files with 129 additions and 17 deletions
+4
View File
@@ -205,7 +205,11 @@ class NextHopRouter : public FloodingRouter
*/
std::optional<uint8_t> getNextHop(NodeNum to, uint8_t relay_node);
#ifdef PIO_UNIT_TESTING
public: // expose perhapsRebroadcast to the test shim
#else
private:
#endif
/** Check if we should be rebroadcasting this packet if so, do so.
* @return true if we did rebroadcast */
bool perhapsRebroadcast(const meshtastic_MeshPacket *p) override;