mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-25 18:40:17 -04:00
Fixed ingress control producer comprehension at mid-watermark using incorrect variable name for interface type check. By JRG <fccab3ba809f89d870d5b8b2e2cdbad1> (commit a790cb02152f80d7cdb9677c90672905b8b62c44)
This commit is contained in:
parent
f25b31702b
commit
6c9d717cd6
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue