diff options
author | Steven Barth <steven@midlink.org> | 2008-04-27 23:29:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-04-27 23:29:38 +0000 |
commit | 9d8abf9c3e1aa7ae12ac9fe3bb4f6b3f86633d20 (patch) | |
tree | e1e11c9af467c681796879f4561d1deca956b405 | |
parent | 85cba95646165e201ecb15a698b2dc6a3a12760a (diff) |
* Fixed luci-splash again
-rw-r--r-- | contrib/package/ffluci-splash/src/luci-splash.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/ffluci-splash/src/luci-splash.lua b/contrib/package/ffluci-splash/src/luci-splash.lua index 72b63494c..ff876c3fd 100644 --- a/contrib/package/ffluci-splash/src/luci-splash.lua +++ b/contrib/package/ffluci-splash/src/luci-splash.lua @@ -73,7 +73,7 @@ function remove_lease(mac) mac = mac:lower() for k, v in pairs(uci:show("luci_splash").luci_splash) do - if v.mac:lower() == mac then + if v[".type"] == "lease" and v.mac:lower() == mac then remove_rule(mac) uci:del("luci_splash", k) end |