From a155b5fa158cb354bcbabdd59d65ac9647ec3138 Mon Sep 17 00:00:00 2001 From: "Craig M. Coffee" Date: Mon, 28 Jun 2010 07:09:31 +0000 Subject: [applications] luci-multiwan: Added Lan Interface configuration option --- applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 5 +++++ .../luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'applications/luci-multiwan/luasrc/model/cbi/multiwan') diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua index 96718f7cf0..16ee847455 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua @@ -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 diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua index e14dc0a9fd..12301adde6 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua @@ -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 -- cgit v1.2.3