From 6c9d717cd683163adea5392eeba7beddae1ffe8a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 29 Sep 2026 11:48:56 +0200 Subject: [PATCH] Fixed ingress control producer comprehension at mid-watermark using incorrect variable name for interface type check. By JRG (commit a790cb02152f80d7cdb9677c90672905b8b62c44) --- RNS/Interfaces/BackboneInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/BackboneInterface.py b/RNS/Interfaces/BackboneInterface.py index 0daa2a04..14aafaaf 100644 --- a/RNS/Interfaces/BackboneInterface.py +++ b/RNS/Interfaces/BackboneInterface.py @@ -509,7 +509,7 @@ class BackboneInterface(Interface): interfaces = list(BackboneInterface.spawned_interface_filenos.values()) if q_depth > BackboneInterface.DP_IC_MID_WM: - producers = [iface for iface in interfaces if iface.dp_ingress_packets > 0 and not isinstance(interface, RNS.Interfaces.LocalInterface.LocalClientInterface)] + producers = [iface for iface in interfaces if iface.dp_ingress_packets > 0 and not isinstance(iface, RNS.Interfaces.LocalInterface.LocalClientInterface)] if producers: producers.sort(key=lambda p: p.dp_ingress_packets, reverse=True) selected = producers[0]