luci-base: luci.tools.status: add host_hints to DHCPv6 leases
authorJo-Philipp Wich <jo@mein.io>
Thu, 28 Jun 2018 07:32:16 +0000 (09:32 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 28 Jun 2018 07:42:17 +0000 (09:42 +0200)
commitc61c5deac45cdaf1fbccc2d513a90a877e12eea0
tree695603babe45c4af3e5a554e5c04d177cd339010
parentccbb17d26031a802ae02a9bea4063eb65b59ed86
luci-base: luci.tools.status: add host_hints to DHCPv6 leases

Attempt to derive a MAC from the DHCPv6 lease DUID and use it to look up
a host hint. If a hint is found, add it to the lease information.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/tools/status.lua