<%# LuCI - Lua Configuration Interface Copyright 2008-2009 Steven Barth Copyright 2008-2009 Jo-Philipp Wich 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$ -%> <%- require "luci.sys" local style = true -%> <%+header%>

<%:a_n_conntrack%>

<%:a_n_conntrack_desc%>
ARP
<% luci.sys.net.arptable(function(e) %> <% style = not style; end) %>
<%:ipaddress%> <%:macaddress%> <%:interface%>
<%=e["IP address"]%> <%=e["HW address"]%> <%=e["Device"]%>

<%:a_n_conntrack%>
<% style = true; luci.sys.net.conntrack(function(c) %> <% style = not style; end) %>
<%:network%> <%:protocol%> <%:source%> <%:destination%>
<%=c.layer3:upper()%> <%=c.layer4:upper()%> <%=c.src%> <%=c.dst%>

<%+footer%>