* Added initial version of RPC info API
[project/luci.git] / module / public-core / src / view / public_status / index.htm
index 44c4ea7a766e5b73c0181b748adfa8b5e5e43fec..be0b96888bd9dc3cce506af1d92618bcb3bea70b 100644 (file)
 <th><%:iface Schnittstelle%></th>
 </tr>
 <%
-
--- UGLY hack is UGLY
-if routes[1] and routes[1].Gateway:sub(-2) == "00" then
-       local be = true
-else
-       local be = false
-end
-
-
 for i, rt in pairs(routes) do
 %>
 <tr>
-<td><%=ffluci.sys.net.hexip4(rt.Gateway, be)%></th>
+<td><%=ffluci.sys.net.hexip4(rt.Gateway)%></th>
 <td><%=rt.Metric%></th>
 <td><%=rt.Iface%></th>
 </tr>