gluon-luci-portconfig: add vxlan config checkbox
This commit is contained in:
parent
7c496944bf
commit
a4f06228c9
@ -19,6 +19,9 @@ msgstr "Automatisch (RA/DHCPv6)"
|
||||
msgid "Enable PoE passthrough"
|
||||
msgstr "PoE-Passthrough aktivieren"
|
||||
|
||||
msgid "Encapsulate mesh into vxlan"
|
||||
msgstr "Mesh in ein vxlan einpacken"
|
||||
|
||||
msgid "Enable meshing on the LAN interface"
|
||||
msgstr "Mesh auf dem LAN-Port aktivieren"
|
||||
|
||||
|
@ -19,6 +19,9 @@ msgstr "Automatique (RA/DHCPv6)"
|
||||
msgid "Enable PoE passthrough"
|
||||
msgstr ""
|
||||
|
||||
msgid "Encapsulate mesh into vxlan"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable meshing on the LAN interface"
|
||||
msgstr "Activer le réseau MESH sur le port LAN"
|
||||
|
||||
|
@ -10,6 +10,9 @@ msgstr ""
|
||||
msgid "Enable PoE passthrough"
|
||||
msgstr ""
|
||||
|
||||
msgid "Encapsulate mesh into vxlan"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable meshing on the LAN interface"
|
||||
msgstr ""
|
||||
|
||||
|
@ -84,6 +84,10 @@ end
|
||||
|
||||
s = f:section(SimpleSection, nil, nil)
|
||||
|
||||
o = s:option(Flag, "mesh_vxlan", translate("Encapsulate mesh into vxlan"))
|
||||
o.default = uci:get_bool("network", uci:get_first("network","vxlan") , "active") and o.enabled or o.disabled
|
||||
o.rmempty = false
|
||||
|
||||
o = s:option(Flag, "mesh_wan", translate("Enable meshing on the WAN interface"))
|
||||
o.default = uci:get_bool("network", "mesh_wan", "auto") and o.enabled or o.disabled
|
||||
o.rmempty = false
|
||||
|
Loading…
Reference in New Issue
Block a user