summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--iptables-details-html.lsp2
-rw-r--r--iptables-editrule-html.lsp4
-rw-r--r--iptables-model.lua6
4 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 19512b2..6efcf97 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ APP_DIST=\
EXTRA_DIST=README Makefile config.mk
-DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+DISTFILES=$(APP_DIST) $(EXTRA_DIST)
TAR=tar
diff --git a/iptables-details-html.lsp b/iptables-details-html.lsp
index 49b6f21..f826e5c 100644
--- a/iptables-details-html.lsp
+++ b/iptables-details-html.lsp
@@ -1,4 +1,4 @@
-<% local data, viewlibrary, page_info, session = ...
+<% local data, viewlibrary, page_info, session = ...
html = require("acf.html")
%>
diff --git a/iptables-editrule-html.lsp b/iptables-editrule-html.lsp
index aab2cf1..eba2fb3 100644
--- a/iptables-editrule-html.lsp
+++ b/iptables-editrule-html.lsp
@@ -1,9 +1,9 @@
-<% local form, viewlibrary, page_info = ...
+<% local form, viewlibrary, page_info = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
-<%
+<%
local header_level = htmlviewfunctions.displaysectionstart(form, page_info)
local header_level2 = htmlviewfunctions.incrementheader(header_level)
for name,val in pairs(form.value) do val.name = name end
diff --git a/iptables-model.lua b/iptables-model.lua
index 4eaee6a..004e4a8 100644
--- a/iptables-model.lua
+++ b/iptables-model.lua
@@ -233,7 +233,7 @@ function mymodule.read_chain(tab, chain)
retval.table.readonly = true
retval.table.type = "text"
retval.chain.readonly = true
-
+
local chn = find_chain(retval.table.value, chain)
if not chn then
retval.chain.errtxt = "Cannot find chain"
@@ -425,7 +425,7 @@ function mymodule.read_rule(tab, chain, pos)
else
retval.mac_source.value = words[i+1]
i = i+1
- end
+ end
elseif words[i] == "multiport" then
if words[i+2] == "!" then
retval[words[i+1]].value = "!" .. words[i+3]
@@ -546,7 +546,7 @@ end
function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(servicename)
end
-
+
function mymodule.startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end