Fixed missing wanted destination type for interface discovery

This commit is contained in:
Mark Qvist committed 2026-11-15 16:53:08 +01:00
1 parent fd36a97220
commit 884f109b2b
1 file changed
+1
+1
View File
@@ -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()