projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e138fd
)
luci-base: fix duid_to_mac reference in status.lua
2748/head
author
Dirk Brenken
<dev@brenken.org>
Tue, 4 Jun 2019 14:54:24 +0000
(16:54 +0200)
committer
Dirk Brenken
<dev@brenken.org>
Tue, 4 Jun 2019 14:54:24 +0000
(16:54 +0200)
* fix for openwrt/packages#9148
Signed-off-by: Dirk Brenken <dev@brenken.org>
modules/luci-base/luasrc/tools/status.lua
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/tools/status.lua
b/modules/luci-base/luasrc/tools/status.lua
index 496b7b9fd0a03f91455c32be0590b616ce038f9c..e4bc4451a218a424d41e1ead2694462031b63384 100644
(file)
--- a/
modules/luci-base/luasrc/tools/status.lua
+++ b/
modules/luci-base/luasrc/tools/status.lua
@@
-92,7
+92,7
@@
local function dhcp_leases_common(family)
local _, lease
local hosts = sys.net.host_hints()
for _, lease in ipairs(rv) do
- local mac = duid_to_mac(lease.duid)
+ local mac =
sys.net.
duid_to_mac(lease.duid)
local host = mac and hosts[mac]
if host then
if not lease.name then