diff --git a/Netdisco/lib/App/Netdisco/Util/PortMAC.pm b/Netdisco/lib/App/Netdisco/Util/PortMAC.pm index 5b75e478..3bbf5112 100644 --- a/Netdisco/lib/App/Netdisco/Util/PortMAC.pm +++ b/Netdisco/lib/App/Netdisco/Util/PortMAC.pm @@ -32,16 +32,8 @@ to your device's IP. =cut sub get_port_macs { - my $device = shift; my $port_macs = {}; - unless ( $device->in_storage ) { - debug sprintf - ' [%s] get_port_macs - skipping device not yet discovered', - $device->ip; - return $port_macs; - } - my $dp_macs = schema('netdisco')->resultset('DevicePort') ->search( { mac => { '!=' => [ -and => (undef, '00:00:00:00:00:00') ] } },