diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 16:08:53 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 16:08:53 +0000 |
commit | 54978c413f8ad2149e966ce683b6866b75eb1f03 (patch) | |
tree | 148704ffe8ffd74bfedf4822df3955c760b00742 /bgp-model.lua | |
parent | 690e545d415f88a91a9ff980f6705f5e390b1781 (diff) | |
download | acf-quagga-master.tar.bz2 acf-quagga-master.tar.xz |
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 |