diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 15:43:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 15:43:20 +0000 |
commit | b55a81f0e6c9afae3b37911cc182df5112586b00 (patch) | |
tree | 793fedcccdf5257f1ba4e5f13c802fe0c8860349 /iptables-model.lua | |
parent | 198f3ab7aa9f92793a8501948b20d244ec956057 (diff) | |
download | acf-iptables-b55a81f0e6c9afae3b37911cc182df5112586b00.tar.bz2 acf-iptables-b55a81f0e6c9afae3b37911cc182df5112586b00.tar.xz |
Diffstat (limited to 'iptables-model.lua')
-rw-r--r-- | iptables-model.lua | 6 |
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 |