#406 error in check_mac() params causing NBTStat failure
This commit is contained in:
3
Changes
3
Changes
@@ -1,8 +1,9 @@
|
|||||||
2.039026 - 2018-04-
|
2.039026 - 2018-04-28
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
* do not enqueue the same routed peer more than once
|
* do not enqueue the same routed peer more than once
|
||||||
|
* #406 error in check_mac() params causing NBTStat failure
|
||||||
|
|
||||||
2.039025 - 2018-04-27
|
2.039025 - 2018-04-27
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ MAC address does not belong to an interface on any known Device
|
|||||||
=cut
|
=cut
|
||||||
|
|
||||||
sub check_mac {
|
sub check_mac {
|
||||||
my ($node, $port_macs, $device) = @_;
|
my ($node, $device, $port_macs) = @_;
|
||||||
return 0 if !$node;
|
return 0 if !$node;
|
||||||
|
|
||||||
my $mac = NetAddr::MAC->new(mac => $node);
|
my $mac = NetAddr::MAC->new(mac => $node);
|
||||||
|
|||||||
Reference in New Issue
Block a user