From 5b4117dadc3a0ef6deffb87efbe039d1b77f966a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 28 Aug 2026 23:41:00 +0200 Subject: [PATCH] Skip local shared instance interfaces in ingress/egress control --- RNS/Interfaces/BackboneInterface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RNS/Interfaces/BackboneInterface.py b/RNS/Interfaces/BackboneInterface.py index 03fcd744..d9224ee9 100644 --- a/RNS/Interfaces/BackboneInterface.py +++ b/RNS/Interfaces/BackboneInterface.py @@ -482,6 +482,7 @@ class BackboneInterface(Interface): for interface in interfaces: if interface.detached: continue + if isinstance(interface, RNS.Interfaces.LocalInterface.LocalClientInterface): continue BackboneInterface._dp_ec_evaluate(interface, now) except Exception as e: @@ -508,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] + producers = [iface for iface in interfaces if iface.dp_ingress_packets > 0 and not isinstance(interface, RNS.Interfaces.LocalInterface.LocalClientInterface)] if producers: producers.sort(key=lambda p: p.dp_ingress_packets, reverse=True) selected = producers[0]