<%# 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$ -%> <% local i = 1 %> <%+header%>

<%:Active MID announcements%>

<%:Overview of known multiple interface announcements%> <% for k, mid in ipairs(mids) do local aliases = '' for k,v in ipairs(mid.aliases) do if aliases == '' then sep = '' else sep = ', ' end aliases = v.ipAddress .. sep .. aliases end local host = mid.ipAddress if mid.proto == '6' then host = '[' .. mid.ipAddress .. ']' end %> <% i = ((i % 2) + 1) end %>
<%:OLSR node%> <%:Secondary OLSR interfaces%>
<%=mid.ipAddress%> <%=aliases%>
<%+status-olsr/common_js%> <%+footer%>