luci-base: fix duid_to_mac reference in status.lua
* fix for openwrt/packages#9148 Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
1e138fdccf
commit
64fb538568
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue