diff options
Diffstat (limited to 'ipsectools-model.lua')
-rw-r--r-- | ipsectools-model.lua | 4 |
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 |