summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua')
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua
index 291989611..51ec4452a 100644
--- a/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua
+++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua
@@ -24,7 +24,7 @@ iface.rmempty = true
oface = s:option(ListValue, "dest")
oface.optional = true
-luci.model.uci.foreach("firewall", "zone",
+luci.model.uci.cursor():foreach("firewall", "zone",
function (section)
iface:value(section.name)
oface:value(section.name)