summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/controller/admin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-07-03 16:59:37 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-07-03 16:59:51 +0200
commit74b5c1bbc3c840abeeac66c398615621f6ad4247 (patch)
tree1d85887cfd67863a20c491bbe345197de9bc9592 /modules/luci-mod-admin-full/luasrc/controller/admin
parent30e344c60a5db82e83b0c247625f8ebe45936b2f (diff)
luci-mod-admin-full: restart the firewall instead of reloading it
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/controller/admin')
-rw-r--r--modules/luci-mod-admin-full/luasrc/controller/admin/status.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua
index 2d81caf24..1ceb24d16 100644
--- a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua
+++ b/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua
@@ -51,7 +51,7 @@ function action_iptables()
luci.dispatcher.build_url("admin", "status", "iptables")
)
elseif luci.http.formvalue("restart") == "1" then
- luci.util.exec("/etc/init.d/firewall reload")
+ luci.util.exec("/etc/init.d/firewall restart")
luci.http.redirect(
luci.dispatcher.build_url("admin", "status", "iptables")
)