<%# LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%> <%- local ntm = require "luci.model.network".init() local net local netlist = { } for _, net in ipairs(ntm:get_networks()) do if net:name() ~= "loopback" then netlist[#netlist+1] = net:name() end end -%> <%+header%>

<%:Interface Overview%>

<% for i, net in ipairs(netlist) do %> <% end %>
  <%:Interface%> <%:MAC%> <%:Addresses%> <%:Transfer%> <%:Actions%>
<%=net%>
?
? <%:Collecting data...%> <%:RX%>: 0 <%:KB%> (0 <%:Pkts.%>)
<%:TX%>: 0 <%:KB%> (0 <%:Pkts.%>)
<%:Reconnect this interface%> <%:Shutdown this interface%> "><%:Edit this interface%> " onclick="return confirm('<%:Really delete this interface? The deletion cannot be undone!\nYou might loose access to this router if you are connected via this interface.%>')"><%:Delete this interface%>
" method="post">
<%+footer%>