mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 14:16:42 +00:00
74_Unifi: Unifi Modul spamt Log zu, Forum #70136
git-svn-id: https://svn.fhem.de/fhem/trunk@13906 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9b87051a4d
commit
42eba85d9b
@ -810,7 +810,8 @@ sub Unifi_SetClientReadings($) {
|
||||
|
||||
for my $apID (keys %{$hash->{accespoints}}) {
|
||||
$apRef = $hash->{accespoints}->{$apID};
|
||||
if ($apRef->{mac} eq $clientRef->{ap_mac}) {
|
||||
if (defined $apRef->{mac} && defined $clientRef->{ap_mac}
|
||||
&& $apRef->{mac} eq $clientRef->{ap_mac}) {
|
||||
$apName = ($apRef->{name}) ? $apRef->{name} : $apRef->{ip};
|
||||
last;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user