From f223d1206af3cae8cc77dd8f98ad7c761fc9863b Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 15 May 2014 08:11:30 +0100 Subject: [PATCH] another check for macsuck_bleed (J. Leonhardt) --- Netdisco/Changes | 1 + Netdisco/lib/App/Netdisco/Core/Macsuck.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Netdisco/Changes b/Netdisco/Changes index 0dbb44d9..d2315e6f 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -3,6 +3,7 @@ [BUG FIXES] * fixed use of password instead of pass for Dancer::Plugin::DBIC + * another check for macsuck_bleed (J. Leonhardt) 2.027002 - 2014-05-04 diff --git a/Netdisco/lib/App/Netdisco/Core/Macsuck.pm b/Netdisco/lib/App/Netdisco/Core/Macsuck.pm index 5ec2b51d..8f0bdce5 100644 --- a/Netdisco/lib/App/Netdisco/Core/Macsuck.pm +++ b/Netdisco/lib/App/Netdisco/Core/Macsuck.pm @@ -367,7 +367,7 @@ sub _walk_fwtable { $device->ip, $mac, $port, $remote; # continue!! } - else { + elsif (not setting('macsuck_bleed')) { debug sprintf ' [%s] macsuck %s - port %s is detected uplink - skipping.', $device->ip, $mac, $port;