<th><%:metric Metrik%></th>
<th><%:iface Schnittstelle%></th>
</tr>
-<% for i, rt in pairs(routes) do%>
+<%
+local be = (routes[1] and routes[1].Mask:sub(-2) == "00")
+for i, rt in pairs(routes) do
+%>
<tr>
-<td><%=rt.Gateway%></th>
+<td><%=ffluci.sys.net.hexip4(rt.Gateway, be)%></th>
<td><%=rt.Metric%></th>
<td><%=rt.Iface%></th>
</tr>