diff options
author | Dirk Brenken <dev@brenken.org> | 2019-06-04 16:54:24 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2019-06-04 16:54:24 +0200 |
commit | 64fb538568cb8b2cc624e6aea50791a83ed0bf6d (patch) | |
tree | f5989a6debf495b5182aa5d1ed485b412b277f84 /modules/luci-base | |
parent | 1e138fdccf333d79040f56dc9dad344b55db747d (diff) |
luci-base: fix duid_to_mac reference in status.lua
* fix for openwrt/packages#9148
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'modules/luci-base')
-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 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 |