diff options
Diffstat (limited to 'bgp-model.lua')
-rw-r--r-- | bgp-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgp-model.lua b/bgp-model.lua index 53ba356..467bc75 100644 --- a/bgp-model.lua +++ b/bgp-model.lua @@ -68,15 +68,15 @@ 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 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 |