mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-19 14:36:34 -05:00
Fixed missing wanted destination type for interface discovery
This commit is contained in:
parent
fd36a97220
commit
884f109b2b
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue