From 28e3b328545529c19429ce88c7d1769e64e2de0f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 12 Mar 2018 16:12:18 +0100 Subject: 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 --- modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-admin-full/luasrc/view/admin_status') diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm index 5f2c074939..f474c71568 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm @@ -53,7 +53,7 @@ <%=v.dest%> <%=v.mac%> - <%=v.dev%> + <%=luci.tools.webadmin.iface_get_network(v.dev) or '(' .. v.dev .. ')'%> <% style = not style -- cgit v1.2.3