luci-base: network.js: filter invalid mac addresses
authorJo-Philipp Wich <jo@mein.io>
Wed, 18 Sep 2019 05:46:33 +0000 (07:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 18 Sep 2019 05:46:33 +0000 (07:46 +0200)
commitfd9182b21a84bbdb15474fe9473fa9b0fbfd300f
treef65e234a7fedb073100e393d9919ee9b5226ce70
parent15cc74c6b444d22ccfc4384465424edd6d3a718e
luci-base: network.js: filter invalid mac addresses

Only consider valid ethernet mac addresses when building the device state
from raw getifaddrs() information.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js