<%# Copyright 2008-2009 Steven Barth Copyright 2008-2018 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -%> <%- local fs = require "nixio.fs" local has_ip6tables = fs.access("/usr/sbin/ip6tables") local mode = 4 if has_ip6tables then mode = luci.dispatcher.context.requestpath mode = tonumber(mode[#mode] ~= "iptables" and mode[#mode]) or 4 end -%> <%+header%>

<%:Firewall Status%>

<% if has_ip6tables then %> <% end %>
" style="position: absolute; right: 0">

<%:Collecting data...%>

<%+footer%>