treewide: unify mac address handling
authorJo-Philipp Wich <jo@mein.io>
Mon, 12 Mar 2018 15:12:18 +0000 (16:12 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 12 Mar 2018 15:12:18 +0000 (16:12 +0100)
commit28e3b328545529c19429ce88c7d1769e64e2de0f
tree3d7d85d7d4d1202199bad98df125f2af88b73c86
parentdfba318140e1a84359e221b7a9154337595dbded
treewide: unify mac address handling

Use the new luci.ip MAC address facilities to parse and verify MAC addresses
in a common way, instead of relying on various ad-hoc solutions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
13 files changed:
applications/luci-app-olsr/luasrc/controller/olsr.lua
applications/luci-app-splash/luasrc/controller/splash/splash.lua
applications/luci-app-splash/luasrc/view/admin_status/splash.htm
applications/luci-app-wol/luasrc/model/cbi/wol.lua
modules/luci-base/luasrc/cbi/datatypes.lua
modules/luci-base/luasrc/model/network.lua
modules/luci-base/luasrc/sys.lua
modules/luci-base/luasrc/tools/status.lua
modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua
modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua