2 <h1><%:routes Routen%></h1>
5 <table cellspacing="0" cellpadding="6" class="smalltext">
7 <th><%:target Ziel%></th>
8 <th><%:netmask Netzmaske%></th>
9 <th><%:gateway Gateway%></th>
10 <th><%:metric Metrik%></th>
11 <th><%:iface Schnittstelle%></th>
14 local routes = ffluci.sys.net.routes()
17 local be = (routes[1] and routes[1].Mask:sub(-2) == "00")
19 for i, r in pairs(routes) do
22 <td><%=ffluci.sys.net.hexip4(r.Destination, be)%></td>
23 <td><%=ffluci.sys.net.hexip4(r.Mask, be)%></td>
24 <td><%=ffluci.sys.net.hexip4(r.Gateway, be)%></td>
25 <td><%=r.Metric%></td>