From 7dbdadef32c75b6693825b8bacc348c63d11c0ab Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 28 Apr 2012 12:17:43 +0000 Subject: Updated for handle_form now passing self to get and set functions --- ospf-model.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ospf-model.lua') diff --git a/ospf-model.lua b/ospf-model.lua index 55154f3..ca390ce 100644 --- a/ospf-model.lua +++ b/ospf-model.lua @@ -57,11 +57,11 @@ end -- ################################################################################ -- PUBLIC FUNCTIONS -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 @@ -73,8 +73,8 @@ function getconfigfile() return modelfunctions.getfiledetails(configfile) end -function setconfigfile(filedetails) - return modelfunctions.setfiledetails(filedetails, {configfile}) +function setconfigfile(self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, {configfile}) end function getdetails() -- cgit v1.2.3