summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/luasrc/tools')
-rw-r--r--modules/luci-base/luasrc/tools/status.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/tools/status.lua b/modules/luci-base/luasrc/tools/status.lua
index 496b7b9fd..e4bc4451a 100644
--- 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