mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-10 15:30:44 -04:00
Fixed UDP broadcast echo packets not being filtered.
This commit is contained in:
parent
8b6870fad8
commit
4fd3d26714
2 changed files with 8 additions and 2 deletions
|
@ -397,8 +397,9 @@ class Transport:
|
|||
if sent:
|
||||
packet.sent = True
|
||||
packet.sent_at = time.time()
|
||||
Transport.packet_hashlist.append(packet.packet_hash)
|
||||
|
||||
# Don't generate receipt if it has been explicitly disabled
|
||||
# Don't generate receipt if it has been explicitly disabled
|
||||
if (packet.create_receipt == True and
|
||||
# Only generate receipts for DATA packets
|
||||
packet.packet_type == RNS.Packet.DATA and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue