<%# 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 host net announcements%>

<%:Overview of currently active OLSR host net announcements%> <% for k, route in ipairs(routes) do %> <% if i == 1 then i = 0 elseif i == 0 then i = 1 end end %>
<%:Announced network%> <%:OLSR gateway%>
<%=route.Destination%> <%=route.Gateway%> <% if route.Hostname then %> / <%=route.Hostname%> <% end %>
<%+footer%>