diff options
-rw-r--r-- | iptables-controller.lua | 2 | ||||
-rw-r--r-- | iptables-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/iptables-controller.lua b/iptables-controller.lua index 16fac32..2cecc56 100644 --- a/iptables-controller.lua +++ b/iptables-controller.lua @@ -60,5 +60,5 @@ function expert(self) end function startstop(self) - return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.model.getstatus, self.clientdata) + return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) end diff --git a/iptables-model.lua b/iptables-model.lua index d893f60..e13048f 100644 --- a/iptables-model.lua +++ b/iptables-model.lua @@ -556,5 +556,5 @@ function updaterulesfile(filedetails) end function startstop_service(action) - return modelfunctions.startstop_service(servicename, action, {"start", "stop", "restart", "save", "reload", "panic"}) + return modelfunctions.startstop_service(servicename, action, {"Start", "Stop", "Restart", "Save", "Reload", "Panic"}) end |