<%# 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%>
<%:Interface%>
<%:State%>
<%:MTU%>
<%:WLAN%>
<%:Source address%>
<%:Netmask%>
<%:Broadcast address%>
<% for k, iface in ipairs(iface) do %>
<%=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%>
<% i = ((i % 2) + 1) end %>
<%+status-olsr/common_js%> <%+footer%>