mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
@@ -1286,6 +1286,12 @@ sub getcolor
|
|||||||
my $val=shift;
|
my $val=shift;
|
||||||
my $hash=shift;
|
my $hash=shift;
|
||||||
if($optionsfw{'SHOWCOLORS'} eq 'on'){
|
if($optionsfw{'SHOWCOLORS'} eq 'on'){
|
||||||
|
# Don't colourise MAC addresses
|
||||||
|
if (&General::validmac($val)) {
|
||||||
|
$tdcolor = "";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
#custom Hosts
|
#custom Hosts
|
||||||
if ($nettype eq 'cust_host_src' || $nettype eq 'cust_host_tgt'){
|
if ($nettype eq 'cust_host_src' || $nettype eq 'cust_host_tgt'){
|
||||||
foreach my $key (sort keys %$hash){
|
foreach my $key (sort keys %$hash){
|
||||||
|
|||||||
Reference in New Issue
Block a user