summaryrefslogtreecommitdiffstats
path: root/opennhrp-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'opennhrp-model.lua')
-rw-r--r--opennhrp-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/opennhrp-model.lua b/opennhrp-model.lua
index b23cb67..365fceb 100644
--- a/opennhrp-model.lua
+++ b/opennhrp-model.lua
@@ -178,11 +178,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
@@ -247,7 +247,7 @@ function getinterfacedetails(interface)
return cfe({ type="group", value=details, label="OpenNHRP Interface Configuration" })
end
-function updateinterfacedetails(interfacedetails)
+function updateinterfacedetails(self, interfacedetails)
local success, interfacedetails = validateinterfacedetails(interfacedetails)
if success then
@@ -335,7 +335,7 @@ function getconfigfile(self)
end
function setconfigfile(self, filedetails)
- filedetails = modelfunctions.setfiledetails(filedetails, {configfile})
+ filedetails = modelfunctions.setfiledetails(self, filedetails, {configfile})
if not filedetails.errtxt then
configfilecontent = nil
config = nil