From 1c83e732ad8ce792b33936c1d8c996c3f2468cea Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 23 Aug 2026 23:54:45 +0200 Subject: [PATCH] Use optimized IFAC handlers --- RNS/Transport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index 3160985e..279814f7 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -1313,7 +1313,7 @@ class Transport: def transmit(interface, raw): try: if hasattr(interface, "ifac_identity") and interface.ifac_identity != None: - interface.process_outgoing(Transport.handle_outgoing_ifac_legacy(interface, raw)) + interface.process_outgoing(Transport.handle_outgoing_ifac(interface, raw)) else: interface.process_outgoing(raw) Transport.tx_packets += 1 @@ -1754,7 +1754,7 @@ class Transport: # Check that IFAC flag is set if raw[0] & 0x80 == 0x80: if len(raw) > 2+interface.ifac_size: - ifac_valid, raw = Transport.handle_ifac_legacy(raw, interface) + ifac_valid, raw = Transport.handle_ifac(raw, interface) if not ifac_valid: return else: return interface.ifac_violation("Insufficient packet size for IFAC packet")