mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-22 23:10:32 +00:00
Cleanup
This commit is contained in:
1 file changed
+1
-2
+1
-2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user