From 342e9e5cc318a01babde86112fbaaa6f8f0be473 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 28 Apr 2018 13:09:18 +0100 Subject: [PATCH] #406 error in check_mac() params causing NBTStat failure --- Changes | 3 ++- lib/App/Netdisco/Util/Node.pm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index a666c984..7f2ed09d 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,9 @@ -2.039026 - 2018-04- +2.039026 - 2018-04-28 [BUG FIXES] * do not enqueue the same routed peer more than once + * #406 error in check_mac() params causing NBTStat failure 2.039025 - 2018-04-27 diff --git a/lib/App/Netdisco/Util/Node.pm b/lib/App/Netdisco/Util/Node.pm index 5bc598e0..7405e4c9 100644 --- a/lib/App/Netdisco/Util/Node.pm +++ b/lib/App/Netdisco/Util/Node.pm @@ -65,7 +65,7 @@ MAC address does not belong to an interface on any known Device =cut sub check_mac { - my ($node, $port_macs, $device) = @_; + my ($node, $device, $port_macs) = @_; return 0 if !$node; my $mac = NetAddr::MAC->new(mac => $node);