mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-25 18:40:17 -04:00
Don't loop on attached interface packets
This commit is contained in:
parent
a9538e9fd1
commit
3fdfe93ec7
1 changed files with 5 additions and 2 deletions
|
|
@ -1431,8 +1431,11 @@ class Transport:
|
|||
# interface, or belongs to a link.
|
||||
else:
|
||||
stored_hash = False
|
||||
for interface in Transport.interfaces:
|
||||
if interface.OUT:
|
||||
if packet.attached_interface: potential_interfaces = [packet.attached_interface]
|
||||
else: potential_interfaces = Transport.interfaces
|
||||
|
||||
for interface in potential_interfaces:
|
||||
if interface.OUT and interface.online:
|
||||
should_transmit = True
|
||||
|
||||
if packet.destination.type == RNS.Destination.LINK:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue