diff options
author | Steven Barth <steven@midlink.org> | 2008-08-08 12:26:45 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-08 12:26:45 +0000 |
commit | e080fcebd2396c138d8c916d1cf385a88e0db246 (patch) | |
tree | 9a41e995a438d8ac32c9501f44800bf3d0e7d297 /modules/admin-full | |
parent | f4ec942d1bc3d9a6c822c075017cb2949cd8fff5 (diff) |
libs/core: Cleaned up luci.sys in favor of the new luci.ip module
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_status/routes.htm | 6 |
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 c4ebf347a..bfee6227e 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> |