summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-02-28 22:47:19 +0000
committerErmal Luçi <eri@pfsense.org>2008-02-28 22:47:19 +0000
commit1b2c6c2941abaa44593e3e95799c5a07324cc9aa (patch)
tree5b8b477090fca1aae0e784db11715980407c5742 /usr/local/www/firewall_shaper.php
parentc5fc1b2e0f27011de86cf880214baeae411b20ca (diff)
downloadpfsense-1b2c6c2941abaa44593e3e95799c5a07324cc9aa.zip
pfsense-1b2c6c2941abaa44593e3e95799c5a07324cc9aa.tar.gz
Insert the ability to kill pfctl if we come from the Queue->Status page
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rwxr-xr-xusr/local/www/firewall_shaper.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index e3e88f5..4c90979 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -30,6 +30,10 @@
require("guiconfig.inc");
+if($_GET['reset'] <> "") {
+ mwexec("killall -9 pfctl php");
+}
+
$pgtitle = array("Firewall","Traffic Shaper");
read_altq_config();
OpenPOWER on IntegriCloud