summaryrefslogtreecommitdiffstats
path: root/ipsectools-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-10 15:42:58 +0000
committerTed Trask <ttrask01@yahoo.com>2016-08-10 15:42:58 +0000
commit9edd4f964597835e18aac743ae249fcfdc513842 (patch)
treefc36f5b5164d684980ebeaf5b8143c59da37b788 /ipsectools-model.lua
parentdbdc3e5e4d82f4afb56bd90047182ecbb1fdd170 (diff)
downloadacf-ipsec-tools-master.tar.bz2
acf-ipsec-tools-master.tar.xz
Remove trailing whitespaceHEADmaster
Diffstat (limited to 'ipsectools-model.lua')
-rw-r--r--ipsectools-model.lua4
1 files changed, 2 insertions, 2 deletions
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