From 64fb538568cb8b2cc624e6aea50791a83ed0bf6d Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Tue, 4 Jun 2019 16:54:24 +0200 Subject: luci-base: fix duid_to_mac reference in status.lua * fix for openwrt/packages#9148 Signed-off-by: Dirk Brenken --- modules/luci-base/luasrc/tools/status.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-base') diff --git a/modules/luci-base/luasrc/tools/status.lua b/modules/luci-base/luasrc/tools/status.lua index 496b7b9fd0..e4bc4451a2 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 -- cgit v1.2.3