From e080fcebd2396c138d8c916d1cf385a88e0db246 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 8 Aug 2008 12:26:45 +0000 Subject: libs/core: Cleaned up luci.sys in favor of the new luci.ip module --- modules/admin-full/luasrc/view/admin_status/routes.htm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/admin-full/luasrc') diff --git a/modules/admin-full/luasrc/view/admin_status/routes.htm b/modules/admin-full/luasrc/view/admin_status/routes.htm index c4ebf347a8..bfee6227e8 100644 --- a/modules/admin-full/luasrc/view/admin_status/routes.htm +++ b/modules/admin-full/luasrc/view/admin_status/routes.htm @@ -30,9 +30,9 @@ local routes = luci.sys.net.routes() for i, r in pairs(routes) do %> -<%=luci.sys.net.hexip4(r.Destination)%> -<%=luci.sys.net.hexip4(r.Mask)%> -<%=luci.sys.net.hexip4(r.Gateway)%> +<%=luci.ip.Hex(r.Destination, 32):string()%> +<%=luci.ip.Hex(r.Mask, 32):string()%> +<%=luci.ip.Hex(r.Gateway, 32):string()%> <%=r.Metric%> <%=r.Iface%> -- cgit v1.2.3