Fixed AutoInterface deferred init

This commit is contained in:
Mark Qvist 2025-03-09 18:39:23 +01:00
parent 08751a762a
commit 17ce91a4a2
3 changed files with 24 additions and 21 deletions

View file

@ -650,6 +650,7 @@ class Reticulum:
interface.ifac_signature = interface.ifac_identity.sign(RNS.Identity.full_hash(interface.ifac_key))
RNS.Transport.interfaces.append(interface)
interface.final_init()
interface = None
if (("interface_enabled" in c) and c.as_bool("interface_enabled") == True) or (("enabled" in c) and c.as_bool("enabled") == True):