X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-splash%2Fluasrc%2Fmodel%2Fcbi%2Fsplash%2Fsplash.lua;h=ed5cdc181a8aae61c94c0f759f54cb0e2d67776b;hb=2755a46c4db548cbceafcfcdfa67d476b9c0a1c5;hp=37ef559af29c41814d20e7c28f99d6501c2dc94f;hpb=a0d4bfceb5bc4172bea118a5941d5d3d1bfc0664;p=project%2Fluci.git 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"