2 <h1><%:olsr_topology%></h1>
4 <table cellspacing="0" cellpadding="6">
6 <th><%:destination%></th>
7 <th><%:olsr_lasthop%></th>
12 <% for k, route in ipairs(routes) do
13 if route.Linkcost then
14 route.LQ, route.ILQ, route.ETX = route.Linkcost:match("(.*)/(.*)\t(.*)")
18 <td><a href="http://<%=route["Destination IP"]%>"><%=route["Destination IP"]%></a></td>
19 <td><a href="http://<%=route["Last hop IP"]%>"><%=route["Last hop IP"]%></a></td>
20 <td><%=route.LQ%></td>
21 <td><%=route.ILQ%></td>
22 <td><%=route.ETX%></td>