summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--snort-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/snort-model.lua b/snort-model.lua
index 2c3a980..e198aa8 100644
--- a/snort-model.lua
+++ b/snort-model.lua
@@ -21,11 +21,11 @@ function getstatus()
return modelfunctions.getstatus(processname, packagename, "Snort Status")
end
-function get_startstop(clientdata)
+function get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function startstop_service(startstop, action)
+function startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
@@ -81,6 +81,6 @@ function get_filedetails()
return modelfunctions.getfiledetails(configfile)
end
-function update_filedetails(filedetails)
- return modelfunctions.setfiledetails(filedetails, {configfile})
+function update_filedetails(self, filedetails)
+ return modelfunctions.setfiledetails(self, filedetails, {configfile})
end