Ensure interface is online at time of recursive PR emission

This commit is contained in:
Mark Qvist
2026-07-25 19:22:58 +02:00
parent b2188ce9a7
commit 4760103aa6
+1
View File
@@ -3126,6 +3126,7 @@ class Transport:
for interface in Transport.interfaces: for interface in Transport.interfaces:
if search_mode_filter and not interface.mode in search_mode_filter: continue if search_mode_filter and not interface.mode in search_mode_filter: continue
if not interface.online: continue
if not interface == attached_interface: if not interface == attached_interface:
if interface.should_egress_limit_pr(): if interface.should_egress_limit_pr():
RNS.log(f"Not sending recursive path request on {interface} due to active egress limiting", RNS.LOG_EXTREME) if RNS.sl(RNS.LOG_EXTREME) else None RNS.log(f"Not sending recursive path request on {interface} due to active egress limiting", RNS.LOG_EXTREME) if RNS.sl(RNS.LOG_EXTREME) else None