diff options
-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(); |