From cf6010da591e9361e26672b6917081a153f1f2c3 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 17 Jul 2026 11:43:14 +0200 Subject: [PATCH] Enable discovery for internal-mode interfaces --- RNS/Reticulum.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index faf54736..6d1ee172 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -855,14 +855,14 @@ class Reticulum: if "discovery_bandwidth" in c: discovery_bandwidth = c.as_int("discovery_bandwidth") if "discovery_modulation" in c: discovery_modulation = c.as_int("discovery_modulation") - if not interface_mode in [Interface.Interface.MODE_GATEWAY, Interface.Interface.MODE_ACCESS_POINT]: + if not interface_mode in [Interface.Interface.MODE_GATEWAY, Interface.Interface.MODE_ACCESS_POINT, Interface.Interface.MODE_INTERNAL]: if not ignore_config_warnings: if c["type"] in ["RNodeInterface", "RNodeMultiInterface"]: interface_mode = Interface.Interface.MODE_ACCESS_POINT - RNS.log(f"Discovery enabled on interface {name} without gateway or AP mode. Auto-configured to AP mode.", RNS.LOG_NOTICE) + RNS.log(f"Discovery enabled on interface {name} without gateway, internal or AP mode. Auto-configured to AP mode.", RNS.LOG_NOTICE) else: interface_mode = Interface.Interface.MODE_GATEWAY - RNS.log(f"Discovery enabled on interface {name} without gateway or AP mode. Auto-configured to gateway mode.", RNS.LOG_NOTICE) + RNS.log(f"Discovery enabled on interface {name} without gateway, internal or AP mode. Auto-configured to gateway mode.", RNS.LOG_NOTICE) try: def interface_post_init(interface):