mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-02 06:36:14 -04:00
Added gateway interface mode
This commit is contained in:
parent
02bb9068cc
commit
81b92ffdc1
2 changed files with 10 additions and 0 deletions
|
@ -354,6 +354,8 @@ class Reticulum:
|
|||
interface_mode = Interface.Interface.MODE_ROAMING
|
||||
elif c["interface_mode"] == "boundary":
|
||||
interface_mode = Interface.Interface.MODE_BOUNDARY
|
||||
elif c["mode"] == "gateway" or c["mode"] == "gw":
|
||||
interface_mode = Interface.Interface.MODE_GATEWAY
|
||||
|
||||
elif "mode" in c:
|
||||
c["mode"] = str(c["mode"]).lower()
|
||||
|
@ -367,6 +369,8 @@ class Reticulum:
|
|||
interface_mode = Interface.Interface.MODE_ROAMING
|
||||
elif c["mode"] == "boundary":
|
||||
interface_mode = Interface.Interface.MODE_BOUNDARY
|
||||
elif c["mode"] == "gateway" or c["mode"] == "gw":
|
||||
interface_mode = Interface.Interface.MODE_GATEWAY
|
||||
|
||||
ifac_size = None
|
||||
if "ifac_size" in c:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue