diff options
Diffstat (limited to 'bgp-model.lua')
-rw-r--r-- | bgp-model.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgp-model.lua b/bgp-model.lua index 9333c05..5d98f40 100644 --- a/bgp-model.lua +++ b/bgp-model.lua @@ -19,7 +19,7 @@ local function parseconfigfile() local conf = {} local f = io.open(configfile, "r") local line, key, _, k, v - + if not f then return nil end @@ -97,11 +97,11 @@ function mymodule.setconfigfile(self, filedetails) return modelfunctions.setfiledetails(self, filedetails, {configfile}) end -function mymodule.get_startstop(self, clientdata) +function mymodule.get_startstop(self, clientdata) return modelfunctions.get_startstop(processname) end -function mymodule.startstop_service(self, startstop, action) +function mymodule.startstop_service(self, startstop, action) return modelfunctions.startstop_service(startstop, action) end |