summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-02-15 13:01:12 -0500
committerjim-p <jim@pingle.org>2010-02-15 13:01:12 -0500
commitb3e79d5ee5ee3089943242517a19683c8aa68097 (patch)
tree294bf44ce5298c3f4164338975a19fb060014af3 /usr
parentbb641bf8978c07e54b57885f56b0f9543a7cd39f (diff)
downloadpfsense-b3e79d5ee5ee3089943242517a19683c8aa68097.zip
pfsense-b3e79d5ee5ee3089943242517a19683c8aa68097.tar.gz
Fix double printing of log entries
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/bin/filterparser.php4
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
OpenPOWER on IntegriCloud