<%# Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Copyright 2011 Manuel Munz Licensed to the public under the Apache 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%>