From b3e79d5ee5ee3089943242517a19683c8aa68097 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 15 Feb 2010 13:01:12 -0500 Subject: Fix double printing of log entries --- usr/local/bin/filterparser.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.1