summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--snort-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/snort-model.lua b/snort-model.lua
index f933283..8bc6d68 100644
--- a/snort-model.lua
+++ b/snort-model.lua
@@ -118,7 +118,7 @@ end
-- action should be a CFE
function startstop_service ( self, action )
local cmd = action.value
- local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol("snort", cmd)
+ local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol(processname, cmd)
action.descr=cmdmessage
action.errtxt=cmderror
return cmdresult,action