From 44ba5624bcef764523b04ec2df2eb127de0db532 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 22 May 2022 15:16:58 +0200 Subject: [PATCH] Added gateway mode to rnstatus --- RNS/Utilities/rnstatus.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RNS/Utilities/rnstatus.py b/RNS/Utilities/rnstatus.py index e7e5b3c..dae7a81 100644 --- a/RNS/Utilities/rnstatus.py +++ b/RNS/Utilities/rnstatus.py @@ -75,6 +75,8 @@ def program_setup(configdir, dispall=False, verbosity = 0): modestr = "Roaming" elif ifstat["mode"] == RNS.Interfaces.Interface.Interface.MODE_BOUNDARY: modestr = "Boundary" + elif ifstat["mode"] == RNS.Interfaces.Interface.Interface.MODE_GATEWAY: + modestr = "Gateway" else: modestr = "Full"