diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-06-04 17:14:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 17:14:37 +0200 |
commit | 1152b759718621b7797111922c366c66b24dace0 (patch) | |
tree | f5989a6debf495b5182aa5d1ed485b412b277f84 | |
parent | 1e138fdccf333d79040f56dc9dad344b55db747d (diff) | |
parent | 64fb538568cb8b2cc624e6aea50791a83ed0bf6d (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.lua | 2 |
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 |