luci-mod-admin-full: don't replace DHCPv6 hostname
authorMathias Kresin <dev@kresin.me>
Thu, 16 Nov 2017 06:16:59 +0000 (07:16 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 17 Nov 2017 00:27:18 +0000 (01:27 +0100)
commita1ee8e16b66ac9f0c6bf8b7b5f421f79cf1e1587
tree2986d29e6e369140bcebbdc421b6c2b0ddf7e3a5
parent4891deaf94eb1c98a9a8b993ebcd1987538643f4
luci-mod-admin-full: don't replace DHCPv6 hostname

Don't replace the DHCPv6 supplied hostname if the DUID can be mapped to
the MAC-Address of an already known host.

It hides the issue of a missing DHCPv6 hostname and could lead to the
conclution that the already known host has an IPv6 address.

Signed-off-by: Mathias Kresin <dev@kresin.me>
modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm
modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm