This commit is contained in:
Mark Qvist 2026-08-22 01:18:01 +02:00
parent 6b2c5bcf0b
commit fc69f323a8
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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