diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index 09a683fe18..0daefcff3a 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -365,9 +365,9 @@ include("head.inc"); } $srcstr = $filterent['srcip'] . get_port_with_service($filterent['srcport'], $proto); - $src_htmlclass = str_replace('.', '-', $filterent['srcip']); + $src_htmlclass = str_replace(array('.', ':'), '-', $filterent['srcip']); $dststr = $filterent['dstip'] . get_port_with_service($filterent['dstport'], $proto); - $dst_htmlclass = str_replace('.', '-', $filterent['dstip']); + $dst_htmlclass = str_replace(array('.', ':'), '-', $filterent['dstip']); ?>