Revision d0af588d
Added by → luckman212 about 3 years ago
src/usr/local/www/firewall_shaper.php | ||
---|---|---|
34 | 34 |
require_once("shaper.inc"); |
35 | 35 |
require_once("rrd.inc"); |
36 | 36 |
|
37 |
if ($_GET['reset'] != "") { |
|
38 |
/* XXX: Huh, why are we killing php? */ |
|
39 |
mwexec("/usr/bin/killall -9 pfctl php"); |
|
40 |
exit; |
|
41 |
} |
|
42 |
|
|
43 | 37 |
$pgtitle = array(gettext("Firewall"), gettext("Traffic Shaper"), gettext("By Interface")); |
44 | 38 |
$pglinks = array("", "@self", "@self"); |
45 | 39 |
$shortcut_section = "trafficshaper"; |
Also available in: Unified diff
remove some dead code
see https://forum.netgate.com/topic/171394/sledgehammer-killall-in-shaper-php-and-inc-files