fix typo in log
This commit is contained in:
@@ -203,7 +203,7 @@ sub store_neighbors {
|
||||
my $mac = NetAddr::MAC->new(mac => $tmpid);
|
||||
if ($mac and not $mac->errstr) {
|
||||
info sprintf
|
||||
'[%s] neigh - found neighbor %s by MAC %s',
|
||||
' [%s] neigh - trying to find neighbor %s by MAC %s',
|
||||
$device->ip, $remote_id, $mac->as_ieee;
|
||||
$neigh = $devices->single({mac => $mac->as_ieee});
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ register_worker({ phase => 'check' }, sub {
|
||||
return Status->defer("macsuck skipped: $device is pseudo-device")
|
||||
if $device->is_pseudo;
|
||||
|
||||
return Status->defer("arpnip skipped: $device has no layer 2 capability")
|
||||
return Status->defer("macsuck skipped: $device has no layer 2 capability")
|
||||
unless $device->has_layer(2);
|
||||
|
||||
return Status->defer("macsuck deferred: $device is not macsuckable")
|
||||
|
||||
Reference in New Issue
Block a user