summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-06-04 17:14:37 +0200
committerGitHub <noreply@github.com>2019-06-04 17:14:37 +0200
commit1152b759718621b7797111922c366c66b24dace0 (patch)
treef5989a6debf495b5182aa5d1ed485b412b277f84
parent1e138fdccf333d79040f56dc9dad344b55db747d (diff)
parent64fb538568cb8b2cc624e6aea50791a83ed0bf6d (diff)
Merge pull request #2748 from dibdot/duid-fix
luci-base: fix duid_to_mac reference in status.lua
-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 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