modules/admin-full: use firewall reload action
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 7 Mar 2013 12:17:43 +0000 (12:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 7 Mar 2013 12:17:43 +0000 (12:17 +0000)
modules/admin-full/luasrc/controller/admin/status.lua

index a9e37c7995ef4de44fb0ca86c6ec9c5f0db31d36..89ebda735304dfd2f28bf1c5bddcd5917f376890 100644 (file)
@@ -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")
                )