mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-22 23:10:32 +00:00
Fixed missing wanted destination type for interface discovery
This commit is contained in:
1 file changed
+1
@@ -520,6 +520,7 @@ class InterfaceDiscovery():
|
||||
if not os.path.isdir(self.storagepath): os.makedirs(self.storagepath)
|
||||
|
||||
if discover_interfaces:
|
||||
RNS.Reticulum.get_instance().wants_destination_type("rnstransport.discovery.interface")
|
||||
self.handler = InterfaceAnnounceHandler(callback=self.interface_discovered, required_value=self.required_value)
|
||||
RNS.Transport.register_announce_handler(self.handler)
|
||||
threading.Thread(target=self.connect_discovered, daemon=True).start()
|
||||
|
||||
Reference in new issue
Block a user