diff options
author | Steven Barth <steven@midlink.org> | 2008-08-05 12:58:20 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-05 12:58:20 +0000 |
commit | 2755a46c4db548cbceafcfcdfa67d476b9c0a1c5 (patch) | |
tree | 99ac020b5413285b1d66cdf7f6db01a0a7e82eed /applications/luci-splash/luasrc | |
parent | a0d4bfceb5bc4172bea118a5941d5d3d1bfc0664 (diff) |
applications/luci-splash: Updated to work with new UCI firewall
Diffstat (limited to 'applications/luci-splash/luasrc')
-rw-r--r-- | applications/luci-splash/luasrc/model/cbi/splash/splash.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua index 37ef559af..ed5cdc181 100644 --- a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua +++ b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua @@ -11,13 +11,13 @@ s.template = "cbi/tblsection" s.addremove = true s.anonymous = true -iface = s:option(ListValue, "network", "Schnittstelle") -luci.model.uci.foreach("network", "interface", +iface = s:option(ListValue, "zone", "Firewallzone") +luci.model.uci.foreach("firewall", "zone", function (section) - if section[".name"] ~= "loopback" then - iface:value(section[".name"]) - end + iface:value(section.name) end) + +gateway = s:option(Value, "gateway", "Gateway") s = m:section(TypedSection, "whitelist", "Automatische Freigabe") s.template = "cbi/tblsection" |