From b55a81f0e6c9afae3b37911cc182df5112586b00 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Aug 2016 15:43:20 +0000 Subject: Remove trailing whitespace --- iptables-model.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iptables-model.lua') 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 -- cgit v1.2.3