summaryrefslogtreecommitdiffstats
path: root/shorewall-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-model.lua')
-rw-r--r--shorewall-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/shorewall-model.lua b/shorewall-model.lua
index 5aef6f8..1d8fda0 100644
--- a/shorewall-model.lua
+++ b/shorewall-model.lua
@@ -181,11 +181,11 @@ function getstatusdetails()
return cfe({ value=programstate, label="Shorewall status report" })
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
@@ -234,8 +234,8 @@ function getfiledetails(filename)
return modelfunctions.getfiledetails(filename, is_valid_filename)
end
-function updatefiledetails (filedetails)
- return modelfunctions.setfiledetails(filedetails, is_valid_filename)
+function updatefiledetails(self, filedetails)
+ return modelfunctions.setfiledetails(self, filedetails, is_valid_filename)
end
--[[