From fc69f323a82a0f3d76b2b3b90d16850ff25b4cf1 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 22 Aug 2026 01:18:01 +0200 Subject: [PATCH] Cleanup --- RNS/Interfaces/Interface.py | 2 +- RNS/Transport.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Interfaces/Interface.py b/RNS/Interfaces/Interface.py index 9d100e41..d8530b20 100755 --- a/RNS/Interfaces/Interface.py +++ b/RNS/Interfaces/Interface.py @@ -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: diff --git a/RNS/Transport.py b/RNS/Transport.py index 4e7012c7..40752229 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -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