diff options
author | jim-p <jimp@pfsense.org> | 2013-04-02 12:54:22 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-04-02 12:54:22 -0400 |
commit | 068e6891e2c2c03a427e477d03d309e1f9d47255 (patch) | |
tree | 8532efe60031c38c940963f4792cfcc9838d6b58 /etc | |
parent | 643bc7b01fc53409872728d0c1b2955cfe34bfcf (diff) | |
download | pfsense-068e6891e2c2c03a427e477d03d309e1f9d47255.zip pfsense-068e6891e2c2c03a427e477d03d309e1f9d47255.tar.gz |
Show a little indicator icon if the direction of a firewall log entry is OUT, rather than the usual 'in'. No indicator is shown for IN.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter_log.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc index 85548da..db0131c 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -136,9 +136,9 @@ function collapse_filter_lines($logarr) { function parse_filter_line($line) { global $config, $g; $log_split = ""; - preg_match("/(.*)\s(.*)\spf:\s.*\srule\s(.*)\(match\)\:\s(.*)\s\w+\son\s(\w+)\:\s\((.*)\)\s(.*)\s>\s(.*)\:\s(.*)/", $line, $log_split); + preg_match("/(.*)\s(.*)\spf:\s.*\srule\s(.*)\(match\)\:\s(.*)\s(\w+)\son\s(\w+)\:\s\((.*)\)\s(.*)\s>\s(.*)\:\s(.*)/", $line, $log_split); - list($all, $flent['time'], $host, $rule, $flent['act'], $flent['realint'], $details, $src, $dst, $leftovers) = $log_split; + list($all, $flent['time'], $host, $rule, $flent['act'], $flent['direction'], $flent['realint'], $details, $src, $dst, $leftovers) = $log_split; list($flent['srcip'], $flent['srcport']) = parse_ipport($src); list($flent['dstip'], $flent['dstport']) = parse_ipport($dst); |