summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2019-06-04 16:54:24 +0200
committerDirk Brenken <dev@brenken.org>2019-06-04 16:54:24 +0200
commit64fb538568cb8b2cc624e6aea50791a83ed0bf6d (patch)
treef5989a6debf495b5182aa5d1ed485b412b277f84
parent1e138fdccf333d79040f56dc9dad344b55db747d (diff)
luci-base: fix duid_to_mac reference in status.lua
* fix for openwrt/packages#9148 Signed-off-by: Dirk Brenken <dev@brenken.org>
-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