From 03d3478b5e00752b89906d20704ed1f48588b65f Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 15 Apr 2022 22:13:59 +0200 Subject: [PATCH] Added interface mode shorthand --- RNS/Reticulum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index 16c2f8b..3388fcd 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -307,7 +307,7 @@ class Reticulum: if "mode" in c: if c["mode"] == "full": interface_mode = Interface.Interface.MODE_FULL - elif c["mode"] == "accesspoint" or c["mode"] == "ap": + elif c["mode"] == "access_point" or c["mode"] == "accesspoint" or c["mode"] == "ap": interface_mode = Interface.Interface.MODE_ACCESS_POINT elif c["mode"] == "pointtopoint" or c["mode"] == "ptp": interface_mode = Interface.Interface.MODE_POINT_TO_POINT