]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/firewalllogport.dat
Korrekturen im IDS System
[people/teissler/ipfire-2.x.git] / html / cgi-bin / logs.cgi / firewalllogport.dat
index 3ecc26b2148a22507b74d56c8fcb09a9e482417f..92c620beb889122a7c6cb4e9c5bb0a39d5e4faf9 100644 (file)
@@ -459,6 +459,8 @@ if ( ($color % 10) == 8 ){print "<TR BGCOLOR='$color{'color8'}'>\n";}
 if ( ($color % 10) == 9 ){print "<TR BGCOLOR='$color{'color9'}'>\n";}
 if ( ($color % 10) == 0 ){print "<TR BGCOLOR='$color{'color10'}'>\n";}
 
+if ( $linesjc ne "0")
+{
 my $dif;
 $dif = $linesjc - $total;
 $percent = $dif * 100 / $linesjc;
@@ -472,6 +474,7 @@ print <<END
 END
 ;
 }
+}
 print <<END
 </TABLE>
 END