summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm')
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm
index 957604e8a..d6997f837 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm
@@ -16,10 +16,10 @@ $Id$
<%-
require "luci.sys.iptparser"
- require "luci.tools.webadmin"
- require "luci.fs"
+ local wba = require "luci.tools.webadmin"
+ local fs = require "nixio.fs"
- local has_ip6tables = luci.fs.access("/usr/sbin/ip6tables")
+ local has_ip6tables = fs.access("/usr/sbin/ip6tables")
local mode = 4
if has_ip6tables then
@@ -28,7 +28,6 @@ $Id$
end
local ipt = luci.sys.iptparser.IptParser(mode)
- local wba = luci.tools.webadmin
local rowcnt = 1
function rowstyle()