#406 error in check_mac() params causing NBTStat failure

This commit is contained in:
Oliver Gorwits
2018-04-28 13:09:18 +01:00
parent 788d3ac26b
commit 342e9e5cc3
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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);