summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@trask19.(none)>2009-06-04 15:52:48 +0000
committerroot <root@trask19.(none)>2009-06-04 15:52:48 +0000
commitcd5e1962f0cbb377ea15891b86ea563b27feba73 (patch)
tree9aefbf985447e4efa5d10b5fc7181df331709324
parent8a20218d260113d039934bbb46ff49d147c72375 (diff)
downloadacf-iptables-cd5e1962f0cbb377ea15891b86ea563b27feba73.tar.bz2
acf-iptables-cd5e1962f0cbb377ea15891b86ea563b27feba73.tar.xz
Updated for startstop in core 0.5.0
-rw-r--r--iptables-controller.lua2
-rw-r--r--iptables-model.lua2
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