mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-04 22:00:12 -05:00
Ensure only transport-enabled interfaces are autoconnected at discovery time
This commit is contained in:
parent
fca509ff04
commit
d1a7e0c8a0
1 changed files with 1 additions and 0 deletions
|
|
@ -780,6 +780,7 @@ class InterfaceDiscovery():
|
||||||
return seq_name
|
return seq_name
|
||||||
|
|
||||||
def autoconnect_qualified(self, info):
|
def autoconnect_qualified(self, info):
|
||||||
|
if not "transport" in info or info["transport"] != True: return False
|
||||||
if RNS.Reticulum.should_autoconnect_unverified_implementations(): return True
|
if RNS.Reticulum.should_autoconnect_unverified_implementations(): return True
|
||||||
if not "impl_name" in info: return False
|
if not "impl_name" in info: return False
|
||||||
if not info["impl_name"] in self.AUTOCONNECT_IMPLS: return False
|
if not info["impl_name"] in self.AUTOCONNECT_IMPLS: return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue