diff options
author | jim-p <jim@pingle.org> | 2010-02-15 13:01:12 -0500 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-02-15 13:01:12 -0500 |
commit | b3e79d5ee5ee3089943242517a19683c8aa68097 (patch) | |
tree | 294bf44ce5298c3f4164338975a19fb060014af3 /usr | |
parent | bb641bf8978c07e54b57885f56b0f9543a7cd39f (diff) | |
download | pfsense-b3e79d5ee5ee3089943242517a19683c8aa68097.zip pfsense-b3e79d5ee5ee3089943242517a19683c8aa68097.tar.gz |
Fix double printing of log entries
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/bin/filterparser.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/bin/filterparser.php b/usr/local/bin/filterparser.php index d432419..3460e3e 100755 --- a/usr/local/bin/filterparser.php +++ b/usr/local/bin/filterparser.php @@ -73,7 +73,9 @@ while(!feof($log)) { dstip - Destination IP dstport - Destination Port */ - if ($flent != "") + if ($flent != "") { echo "{$flent['time']} {$flent['act']} {$flent['realint']} {$flent['proto']} {$flent['src']} {$flent['dst']}\n"; + $flent = ""; + } } fclose($log); ?>
\ No newline at end of file |