diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:45 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:45 +0000 |
commit | b58210efc15c3e438c271adb3404eeafcd407565 (patch) | |
tree | ccd0c2c07943088ba708b126beb4178870c5a347 /shorewall-model.lua | |
parent | 4467798e4d334fea742912bb3ba2588668826fe4 (diff) | |
download | acf-shorewall-b58210efc15c3e438c271adb3404eeafcd407565.tar.bz2 acf-shorewall-b58210efc15c3e438c271adb3404eeafcd407565.tar.xz |
Updated for handle_form now passing self to get and set functions
Diffstat (limited to 'shorewall-model.lua')
-rw-r--r-- | shorewall-model.lua | 8 |
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 --[[ |