summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-04-02 12:54:22 -0400
committerjim-p <jimp@pfsense.org>2013-04-02 12:54:22 -0400
commit068e6891e2c2c03a427e477d03d309e1f9d47255 (patch)
tree8532efe60031c38c940963f4792cfcc9838d6b58 /etc
parent643bc7b01fc53409872728d0c1b2955cfe34bfcf (diff)
downloadpfsense-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.inc4
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);
OpenPOWER on IntegriCloud