remove more bogus MAC's from Cisco ASA (#225)

This commit is contained in:
operatorofhell
2017-07-20 15:16:47 +02:00
committed by Oliver Gorwits
parent 9d62361c8a
commit 20014cab29

View File

@@ -73,8 +73,8 @@ sub b_mac {
foreach my $i ( keys %$macs ) {
my $mac = $macs->{$i};
# don't catch the bad macs with zeroed OUI
if ( $mac !~ m/(0{1,2}:){3}/ ) {
# don't catch the bad macs with bogus OUI
if ( $mac !~ m/(0{1,2}:){2}(00|01)/ )
push( @macs, $mac );
}
@macs = sort(@macs);