summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-03-07 12:17:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-03-07 12:17:43 +0000
commit7021120936575df16a3af6606399504d42e73531 (patch)
tree5e7b813d530ab46c7d77d328de30f393bbb32919
parentb64f841bec26dc0844a2617d726aa65764468cbb (diff)
modules/admin-full: use firewall reload action
-rw-r--r--modules/admin-full/luasrc/controller/admin/status.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/status.lua b/modules/admin-full/luasrc/controller/admin/status.lua
index a9e37c799..89ebda735 100644
--- a/modules/admin-full/luasrc/controller/admin/status.lua
+++ b/modules/admin-full/luasrc/controller/admin/status.lua
@@ -62,7 +62,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 restart")
+ luci.util.exec("/etc/init.d/firewall reload")
luci.http.redirect(
luci.dispatcher.build_url("admin", "status", "iptables")
)