[applications] luci-multiwan: Added Lan Interface configuration option
This commit is contained in:
parent
a3e2691a73
commit
a155b5fa15
5 changed files with 24 additions and 0 deletions
|
@ -153,4 +153,9 @@ default_route.default = "balancer"
|
||||||
default_route.optional = false
|
default_route.optional = false
|
||||||
default_route.rmempty = false
|
default_route.rmempty = false
|
||||||
|
|
||||||
|
lan_if = s:option(ListValue, "lan_if", translate("LAN Interface"))
|
||||||
|
luci.tools.webadmin.cbi_add_networks(lan_if)
|
||||||
|
lan_if.optional = false
|
||||||
|
lan_if.rmempty = false
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -65,4 +65,9 @@ default_route.default = "balancer"
|
||||||
default_route.optional = false
|
default_route.optional = false
|
||||||
default_route.rmempty = false
|
default_route.rmempty = false
|
||||||
|
|
||||||
|
lan_if = s:option(ListValue, "lan_if", translate("LAN Interface"))
|
||||||
|
luci.tools.webadmin.cbi_add_networks(lan_if)
|
||||||
|
lan_if.optional = false
|
||||||
|
lan_if.rmempty = false
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -15,6 +15,12 @@ config variable
|
||||||
option section 'multiwan.multiwan'
|
option section 'multiwan.multiwan'
|
||||||
option required true
|
option required true
|
||||||
|
|
||||||
|
config variable
|
||||||
|
option name 'lan_if'
|
||||||
|
option title 'LAN Interface'
|
||||||
|
option section 'multiwan.multiwan'
|
||||||
|
option required true
|
||||||
|
|
||||||
config section
|
config section
|
||||||
option name 'interface'
|
option name 'interface'
|
||||||
option title 'WAN Interfaces'
|
option title 'WAN Interfaces'
|
||||||
|
|
|
@ -133,3 +133,8 @@ msgstr "Ports"
|
||||||
#. Protocol
|
#. Protocol
|
||||||
msgid "Protocol"
|
msgid "Protocol"
|
||||||
msgstr "Protocol"
|
msgstr "Protocol"
|
||||||
|
|
||||||
|
#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:27
|
||||||
|
#. LAN Interface
|
||||||
|
msgid "LAN Interface"
|
||||||
|
msgstr "LAN Interface"
|
||||||
|
|
|
@ -45,6 +45,9 @@ msgid ""
|
||||||
"Health Monitor detects and corrects network changes and failed connections."
|
"Health Monitor detects and corrects network changes and failed connections."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "LAN Interface"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Load Balancer Distribution"
|
msgid "Load Balancer Distribution"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue