From f4d13986af2985ebc42c1b0f18ea563b77f8d29d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 9 Apr 2025 23:47:49 +0200 Subject: [PATCH] Disable AP mode on BackboneInterface --- RNS/Reticulum.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index aff38d0..b258906 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -687,6 +687,9 @@ class Reticulum: if "port" in c: c["target_port"] = c["port"] if "remote" in c: c["target_host"] = c["remote"] if "listen_on" in c: c["listen_ip"] = c["listen_on"] + if interface_mode == Interface.Interface.MODE_ACCESS_POINT: + RNS.log(str(c["type"])+" does not support Access Point mode, reverting to default mode: Full", RNS.LOG_WARNING) + interface_mode = Interface.Interface.MODE_FULL if c["type"] == "BackboneInterface": if "target_host" in c: interface = BackboneInterface.BackboneClientInterface(RNS.Transport, interface_config)