From 6d804beac30d3cffc66c90da4e21d89e4159aca8 Mon Sep 17 00:00:00 2001 From: "Craig M. Coffee" Date: Fri, 2 Jul 2010 02:54:13 +0000 Subject: [applications] multiwan: removed LAN interface setting --- applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 5 ----- .../luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua | 5 ----- applications/luci-multiwan/root/lib/uci/schema/default/multiwan | 6 ------ po/en/multiwan.po | 4 ---- po/templates/multiwan.pot | 3 --- 5 files changed, 23 deletions(-) diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua index 16ee84745..96718f7cf 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua @@ -153,9 +153,4 @@ 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 diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua index 12301adde..e14dc0a9f 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua @@ -65,9 +65,4 @@ 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 diff --git a/applications/luci-multiwan/root/lib/uci/schema/default/multiwan b/applications/luci-multiwan/root/lib/uci/schema/default/multiwan index 75d430c95..d85d98d5e 100644 --- a/applications/luci-multiwan/root/lib/uci/schema/default/multiwan +++ b/applications/luci-multiwan/root/lib/uci/schema/default/multiwan @@ -15,12 +15,6 @@ 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' diff --git a/po/en/multiwan.po b/po/en/multiwan.po index 844d66c2f..beb397f32 100644 --- a/po/en/multiwan.po +++ b/po/en/multiwan.po @@ -134,7 +134,3 @@ msgstr "Ports" msgid "Protocol" msgstr "Protocol" -#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:27 -#. LAN Interface -msgid "LAN Interface" -msgstr "LAN Interface" diff --git a/po/templates/multiwan.pot b/po/templates/multiwan.pot index 2eaf92520..c025eba3b 100644 --- a/po/templates/multiwan.pot +++ b/po/templates/multiwan.pot @@ -45,9 +45,6 @@ msgid "" "Health Monitor detects and corrects network changes and failed connections." msgstr "" -msgid "LAN Interface" -msgstr "" - msgid "Load Balancer Distribution" msgstr "" -- cgit v1.2.3