From 9edd4f964597835e18aac743ae249fcfdc513842 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Aug 2016 15:42:58 +0000 Subject: Remove trailing whitespace --- ipsectools-model.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipsectools-model.lua') diff --git a/ipsectools-model.lua b/ipsectools-model.lua index cab37ec..319cd73 100644 --- a/ipsectools-model.lua +++ b/ipsectools-model.lua @@ -39,7 +39,7 @@ local function racoonctl_table() local value = modelfunctions.run_executable({"ip", "xfrm", "state"}) -- Get rid of all lines that don't start with "src" local phase2details = string.gsub(value, "\n[^s][^\n]*", "") - + value = modelfunctions.run_executable({"racoonctl", "-lll", "show-sa", "isakmp"}) for i,line in pairs(format.string_to_table(value,"\n")) do if not ((string.find(line,"^Source")) or (#line == 0)) then @@ -113,7 +113,7 @@ end function mymodule.get_startstop(self, clientdata) return modelfunctions.get_startstop(processname) end - + function mymodule.startstop_service(self, startstop, action) return modelfunctions.startstop_service(startstop, action) end -- cgit v1.2.3