libs/core: Cleaned up luci.sys in favor of the new luci.ip module
[project/luci.git] / modules / freifunk / luasrc / view / public_status / index.htm
index a10f22f..aa56834 100644 (file)
@@ -88,7 +88,7 @@ $Id$
 for i, rt in pairs(routes) do
 %>
 <tr>
-<td><%=luci.sys.net.hexip4(rt.Gateway)%></th>
+<td><%=luci.ip.Hex(rt.Gateway, 32):string()%></th>
 <td><%=rt.Metric%></th>
 <td><%=rt.Iface%></th>
 </tr>