<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Copyright 2011 Manuel Munz 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: mid.htm 5448 2009-10-31 15:54:11Z jow $ -%> <% local i = 1 %> <%+header%>

<%:Interfaces%>

<%:Overview of interfaces where OLSR is running%> <% for k, iface in ipairs(iface) do %> <% i = ((i % 2) + 1) end %>
<%:Interface%> <%:State%> <%:MTU%> <%:WLAN%> <%:Source address%> <%:Netmask%> <%:Broadcast address%>
<%=iface.Name%> <%=iface.State%> <%=iface.MTU%> <%=iface.WLAN%> <%=iface["Src-Adress"]%> <%=iface.Mask%> <%=iface["Dst-Adress"]%>
<%+footer%>