Added gateway mode to rnstatus

pull/76/head
Mark Qvist 2022-05-22 15:16:58 +02:00
rodzic e9c5e3c189
commit 44ba5624bc
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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