diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-02-28 22:47:19 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-02-28 22:47:19 +0000 |
commit | 1b2c6c2941abaa44593e3e95799c5a07324cc9aa (patch) | |
tree | 5b8b477090fca1aae0e784db11715980407c5742 /usr/local | |
parent | c5fc1b2e0f27011de86cf880214baeae411b20ca (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 4 | ||||
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 1 |
2 files changed, 4 insertions, 1 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(); diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 7b67df3..f97844d 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -32,7 +32,6 @@ require("guiconfig.inc"); if($_GET['reset'] <> "") { mwexec("killall -9 pfctl php"); - exit; } read_altq_config(); |