diff --git a/package/gluon-luci-portconfig/i18n/de.po b/package/gluon-luci-portconfig/i18n/de.po index a94e7d41..4d365b05 100644 --- a/package/gluon-luci-portconfig/i18n/de.po +++ b/package/gluon-luci-portconfig/i18n/de.po @@ -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" diff --git a/package/gluon-luci-portconfig/i18n/fr.po b/package/gluon-luci-portconfig/i18n/fr.po index 3ec59395..c32c410f 100644 --- a/package/gluon-luci-portconfig/i18n/fr.po +++ b/package/gluon-luci-portconfig/i18n/fr.po @@ -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" diff --git a/package/gluon-luci-portconfig/i18n/gluon-luci-portconfig.pot b/package/gluon-luci-portconfig/i18n/gluon-luci-portconfig.pot index 5945016b..9afd6dd7 100644 --- a/package/gluon-luci-portconfig/i18n/gluon-luci-portconfig.pot +++ b/package/gluon-luci-portconfig/i18n/gluon-luci-portconfig.pot @@ -10,6 +10,9 @@ msgstr "" msgid "Enable PoE passthrough" msgstr "" +msgid "Encapsulate mesh into vxlan" +msgstr "" + msgid "Enable meshing on the LAN interface" msgstr "" diff --git a/package/gluon-luci-portconfig/luasrc/usr/lib/lua/luci/model/cbi/admin/portconfig.lua b/package/gluon-luci-portconfig/luasrc/usr/lib/lua/luci/model/cbi/admin/portconfig.lua index f3f1e5ae..9488f1f9 100644 --- a/package/gluon-luci-portconfig/luasrc/usr/lib/lua/luci/model/cbi/admin/portconfig.lua +++ b/package/gluon-luci-portconfig/luasrc/usr/lib/lua/luci/model/cbi/admin/portconfig.lua @@ -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