[applications] luci-multiwan: Added Lan Interface configuration option
authorCraig M. Coffee <craigc@netlab7.com>
Mon, 28 Jun 2010 07:09:31 +0000 (07:09 +0000)
committerCraig M. Coffee <craigc@netlab7.com>
Mon, 28 Jun 2010 07:09:31 +0000 (07:09 +0000)
applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua
applications/luci-multiwan/root/lib/uci/schema/default/multiwan
po/en/multiwan.po
po/templates/multiwan.pot

index 96718f7..16ee847 100644 (file)
@@ -153,4 +153,9 @@ default_route.default = "balancer"
 default_route.optional = 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
index e14dc0a..12301ad 100644 (file)
@@ -65,4 +65,9 @@ default_route.default = "balancer"
 default_route.optional = 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
index d85d98d..75d430c 100644 (file)
@@ -15,6 +15,12 @@ config variable
        option section  'multiwan.multiwan'
        option required true
 
+config variable
+       option name     'lan_if'
+       option title    'LAN Interface'
+       option section  'multiwan.multiwan'
+       option required true
+
 config section
        option name     'interface'
        option title    'WAN Interfaces'
index e61354d..844d66c 100644 (file)
@@ -133,3 +133,8 @@ msgstr "Ports"
 #. Protocol
 msgid "Protocol"
 msgstr "Protocol"
+
+#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:27
+#. LAN Interface
+msgid "LAN Interface"
+msgstr "LAN Interface"
index c025eba..2eaf925 100644 (file)
@@ -45,6 +45,9 @@ msgid ""
 "Health Monitor detects and corrects network changes and failed connections."
 msgstr ""
 
+msgid "LAN Interface"
+msgstr ""
+
 msgid "Load Balancer Distribution"
 msgstr ""