firewall: Don't colourise MAC addresses.

Fixes #10491.
This commit is contained in:
Michael Tremer
2014-03-04 14:26:55 +01:00
parent fa8229546b
commit 0ba66e9293

View File

@@ -1286,6 +1286,12 @@ sub getcolor
my $val=shift;
my $hash=shift;
if($optionsfw{'SHOWCOLORS'} eq 'on'){
# Don't colourise MAC addresses
if (&General::validmac($val)) {
$tdcolor = "";
return;
}
#custom Hosts
if ($nettype eq 'cust_host_src' || $nettype eq 'cust_host_tgt'){
foreach my $key (sort keys %$hash){