Added gateway mode to rnstatus
This commit is contained in:
parent
e9c5e3c189
commit
44ba5624bc
@ -75,6 +75,8 @@ def program_setup(configdir, dispall=False, verbosity = 0):
|
|||||||
modestr = "Roaming"
|
modestr = "Roaming"
|
||||||
elif ifstat["mode"] == RNS.Interfaces.Interface.Interface.MODE_BOUNDARY:
|
elif ifstat["mode"] == RNS.Interfaces.Interface.Interface.MODE_BOUNDARY:
|
||||||
modestr = "Boundary"
|
modestr = "Boundary"
|
||||||
|
elif ifstat["mode"] == RNS.Interfaces.Interface.Interface.MODE_GATEWAY:
|
||||||
|
modestr = "Gateway"
|
||||||
else:
|
else:
|
||||||
modestr = "Full"
|
modestr = "Full"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user