mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-19 14:36:34 -05:00
Cleanup
This commit is contained in:
parent
54159d1d93
commit
04585ff2a8
1 changed files with 1 additions and 2 deletions
|
|
@ -1926,8 +1926,7 @@ class Transport:
|
|||
if not packet.packet_hash in Transport.packet_hashlist: return True
|
||||
else:
|
||||
if packet.packet_type == RNS.Packet.ANNOUNCE:
|
||||
if packet.destination_type == RNS.Destination.SINGLE:
|
||||
return True
|
||||
if packet.destination_type == RNS.Destination.SINGLE: return True
|
||||
else:
|
||||
RNS.log("Dropped invalid announce packet", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
|
||||
if packet.receiving_interface: packet.receiving_interface.protocol_violation("Announce packet with invalid destination type")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue