summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
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