summaryrefslogtreecommitdiffstats
path: root/iptables-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-model.lua')
-rw-r--r--iptables-model.lua6
1 files changed, 3 insertions, 3 deletions
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