2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5 Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 $Id: mid.htm 5448 2009-10-31 15:54:11Z jow $
23 <h2><a id="content" name="content"><%:Interfaces%></a></h2>
25 <fieldset class="cbi-section">
26 <legend><%:Overview of interfaces where OLSR is running%></legend>
28 <table class="cbi-section-table">
30 <th class="cbi-section-table-cell"><%:Interface%></th>
31 <th class="cbi-section-table-cell"><%:State%></th>
32 <th class="cbi-section-table-cell"><%:MTU%></th>
33 <th class="cbi-section-table-cell"><%:WLAN%></th>
34 <th class="cbi-section-table-cell"><%:Source address%></th>
35 <th class="cbi-section-table-cell"><%:Netmask%></th>
36 <th class="cbi-section-table-cell"><%:Broadcast address%></th>
39 <% for k, iface in ipairs(iface) do %>
41 <tr class="cbi-section-table-row cbi-rowstyle-<%=i%>">
42 <td class="cbi-section-table-cell"><%=iface.Name%></td>
43 <td class="cbi-section-table-cell"><%=iface.State%></td>
44 <td class="cbi-section-table-cell"><%=iface.MTU%></td>
45 <td class="cbi-section-table-cell"><%=iface.WLAN%></td>
46 <td class="cbi-section-table-cell"><%=iface["Src-Adress"]%></td>
47 <td class="cbi-section-table-cell"><%=iface.Mask%></td>
48 <td class="cbi-section-table-cell"><%=iface["Dst-Adress"]%></td>