<%# 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 -%> <% 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.olsrMTU%> <%=iface.wireless and luci.i18n.translate('yes') or luci.i18n.translate('no')%> <%=iface.ipv4Address or iface.ipv6Address%> <%=iface.netmask%> <%=iface.broadcast or iface.multicast%>
<%+status-olsr/common_js%> <%+footer%>