From c8180e3ea6e626ecae4c708c04a44ce8b9eb7fe0 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 30 Apr 2014 22:30:37 +0100 Subject: [PATCH] forgot the actual bug fix for previous --- Netdisco/lib/App/Netdisco/Util/PortMAC.pm | 8 -------- 1 file changed, 8 deletions(-) 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') ] } },