summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-08 12:26:45 +0000
committerSteven Barth <steven@midlink.org>2008-08-08 12:26:45 +0000
commite080fcebd2396c138d8c916d1cf385a88e0db246 (patch)
tree9a41e995a438d8ac32c9501f44800bf3d0e7d297 /modules/admin-full/luasrc/view
parentf4ec942d1bc3d9a6c822c075017cb2949cd8fff5 (diff)
libs/core: Cleaned up luci.sys in favor of the new luci.ip module
Diffstat (limited to 'modules/admin-full/luasrc/view')
-rw-r--r--modules/admin-full/luasrc/view/admin_status/routes.htm6
1 files changed, 3 insertions, 3 deletions
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
%>
<tr>
-<td><%=luci.sys.net.hexip4(r.Destination)%></td>
-<td><%=luci.sys.net.hexip4(r.Mask)%></td>
-<td><%=luci.sys.net.hexip4(r.Gateway)%></td>
+<td><%=luci.ip.Hex(r.Destination, 32):string()%></td>
+<td><%=luci.ip.Hex(r.Mask, 32):string()%></td>
+<td><%=luci.ip.Hex(r.Gateway, 32):string()%></td>
<td><%=r.Metric%></td>
<td><%=r.Iface%></td>
</tr>