mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 02:48:57 -04:00
Cleanup
This commit is contained in:
parent
6b2c5bcf0b
commit
fc69f323a8
2 changed files with 2 additions and 2 deletions
|
|
@ -395,7 +395,7 @@ class Interface:
|
|||
wait_time = (tx_time / self.announce_cap)
|
||||
self.announce_allowed_at = now + wait_time
|
||||
|
||||
self.process_outgoing(selected["raw"])
|
||||
RNS.Transport.transmit(self, selected["raw"])
|
||||
self.sent_announce(tx_size)
|
||||
|
||||
if selected in self.announce_queue:
|
||||
|
|
|
|||
|
|
@ -1692,7 +1692,7 @@ class Transport:
|
|||
# check the received packet IFAC flag.
|
||||
# If the flag is set, drop the packet
|
||||
if raw[0] & 0x80 == 0x80:
|
||||
return interface.protocol_violation("IFAC flag set on packet for interface without IFAC enabled") if interface else None
|
||||
return interface.ifac_violation("IFAC flag set on packet for interface without IFAC enabled") if interface else None
|
||||
|
||||
else: return interface.protocol_violation("Insufficient packet size for IFAC processing") if interface else None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue