Remove scrub as well

This commit is contained in:
Ermal 2013-12-30 16:14:21 +00:00
parent 32fd170342
commit ba1c86d950

View File

@ -294,7 +294,7 @@ function buffer_rules_load() {
}
unset($buffer, $_gb);
if (file_exists("{$g['tmp_path']}/rules.debug"))
$_gb = exec("/sbin/pfctl -vvPnf {$g['tmp_path']}/rules.debug 2>/dev/null | /usr/bin/egrep '^@[0-9]+ [^nat|rdr|binat|no]'", $buffer);
$_gb = exec("/sbin/pfctl -vvPnf {$g['tmp_path']}/rules.debug 2>/dev/null | /usr/bin/egrep '^@[0-9]+ [^nat|rdr|binat|no|scrub]'", $buffer);
else
$_gb = exec("/sbin/pfctl -vvPsr | grep '^@'", $buffer);
if (is_array($buffer)) {