Added gateway mode to rnstatus

This commit is contained in:
Mark Qvist 2022-05-22 15:16:58 +02:00
parent e9c5e3c189
commit 44ba5624bc

View File

@ -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"