modules/admin-full: add stp option in interface configuration
This commit is contained in:
parent
341bc48a7e
commit
7cc1874db7
2 changed files with 13 additions and 0 deletions
|
@ -51,6 +51,11 @@ br = s:option(Flag, "type", translate("a_n_i_bridge"), translate("a_n_i_bridge1"
|
||||||
br.enabled = "bridge"
|
br.enabled = "bridge"
|
||||||
br.rmempty = true
|
br.rmempty = true
|
||||||
|
|
||||||
|
stp = s:option(Flag, "stp", translate("a_n_i_stp"),
|
||||||
|
translate("a_n_i_stp1", "Enables the Spanning Tree Protocol on this bridge"))
|
||||||
|
stp:depends("type", "bridge")
|
||||||
|
stp.rmempty = true
|
||||||
|
|
||||||
ifname = s:option(Value, "ifname", translate("interface"))
|
ifname = s:option(Value, "ifname", translate("interface"))
|
||||||
ifname.rmempty = true
|
ifname.rmempty = true
|
||||||
for i,d in ipairs(luci.sys.net.devices()) do
|
for i,d in ipairs(luci.sys.net.devices()) do
|
||||||
|
|
|
@ -1278,6 +1278,14 @@ msgstr ""
|
||||||
msgid "a_n_i_bridge1"
|
msgid "a_n_i_bridge1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. Enable <abbr title=\"Spanning Tree Protocol\">STP</abbr>
|
||||||
|
msgid "a_n_i_stp"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Enables the Spanning Tree Protocol on this bridge
|
||||||
|
msgid "a_n_i_stp1"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. With <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr> network members can automatically receive their network settings (<abbr title=\"Internet Protocol\">IP</abbr>-address, netmask, <abbr title=\"Domain Name System\">DNS</abbr>-server, ...).
|
#. With <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr> network members can automatically receive their network settings (<abbr title=\"Internet Protocol\">IP</abbr>-address, netmask, <abbr title=\"Domain Name System\">DNS</abbr>-server, ...).
|
||||||
#: i18n/english/luasrc/i18n/admin-core.en.lua:256
|
#: i18n/english/luasrc/i18n/admin-core.en.lua:256
|
||||||
msgid "dhcp_desc"
|
msgid "dhcp_desc"
|
||||||
|
|
Loading…
Reference in a new issue