diff options
author | Steven Barth <steven@midlink.org> | 2009-11-15 19:02:34 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-11-15 19:02:34 +0000 |
commit | 98f1d09a06dd917fa8576f3e677af17ccf736c85 (patch) | |
tree | e8c584696f480c246f109aaaf70cc8cd2313435f /modules/niu/luasrc/view | |
parent | 70f77f481a04e53f071bea93a8b77ce104f236db (diff) |
AP configuration
Diffstat (limited to 'modules/niu/luasrc/view')
-rw-r--r-- | modules/niu/luasrc/view/niu/network.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/niu/luasrc/view/niu/network.htm b/modules/niu/luasrc/view/niu/network.htm index f61e3e1f6e..e49c930657 100644 --- a/modules/niu/luasrc/view/niu/network.htm +++ b/modules/niu/luasrc/view/niu/network.htm @@ -35,7 +35,7 @@ uci.inst:foreach("dhcp", "dnsmasq", ) if leasefn then - local ln = io.lines(leasefn) + local ln = fs.access(leasefn, "r") and io.lines(leasefn) leasefn = 0 while ln and ln() do leasefn = leasefn + 1 |