projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UCI API changes
[project/luci.git]
/
modules
/
admin-mini
/
luasrc
/
model
/
cbi
/
mini
/
dhcp.lua
diff --git
a/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
b/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
index 85b2c86aad41f7d90002158c3019292a979d3123..e01890f0a357f24558c75fea034ecf2f4dab88fe 100644
(file)
--- a/
modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
+++ b/
modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
@@
-58,7
+58,7
@@
time.rmempty = true
m2 = Map("luci_ethers", translate("dhcp_leases"))
local leasefn, leasefp, leases
-luci.model.uci.foreach("dhcp", "dnsmasq",
+luci.model.uci.
cursor():
foreach("dhcp", "dnsmasq",
function(section)
leasefn = section.leasefile
end