Added recursive_prs interface option

This commit is contained in:
Mark Qvist
2026-06-19 10:15:32 +02:00
parent 422dc05549
commit 03ddb08248
4 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -2915,7 +2915,8 @@ class Transport:
if attached_interface != None:
should_ingress_limit = attached_interface.should_ingress_limit_pr()
if RNS.Reticulum.transport_enabled():
if attached_interface.mode in RNS.Interfaces.Interface.Interface.DISCOVER_PATHS_FOR: should_search_for_unknown = True
if attached_interface.recursive_prs: should_search_for_unknown = True
elif attached_interface.mode in RNS.Interfaces.Interface.Interface.DISCOVER_PATHS_FOR: should_search_for_unknown = True
if RNS.sl(RNS.LOG_DEBUG):
interface_str = f" on {attached_interface}"