diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-12-31 12:47:28 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-02 08:41:32 -0200 |
commit | 2a45e05fc567d92b03a73efc840960b35f5dbc35 (patch) | |
tree | baa68b0e59431432d29bf337d761d1b44437fe0b /etc | |
parent | 52311f0c834276a5ada3e15a84f5febc0cd05ae6 (diff) | |
download | pfsense-2a45e05fc567d92b03a73efc840960b35f5dbc35.zip pfsense-2a45e05fc567d92b03a73efc840960b35f5dbc35.tar.gz |
Fix filter regex
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter_log.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc index d6184fb..71e5495 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -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|scrub]'", $buffer); + $_gb = exec("/sbin/pfctl -vvPnf {$g['tmp_path']}/rules.debug 2>/dev/null | /usr/bin/egrep '^@[0-9]+ ' | /usr/bin/egrep -v '^@[0-9]+ (nat|rdr|binat|no|scrub)'", $buffer); else $_gb = exec("/sbin/pfctl -vvPsr | grep '^@'", $buffer); if (is_array($buffer)) { |