diff --git a/fhem/FHEM/96_allowed.pm b/fhem/FHEM/96_allowed.pm index 2aef79c99..1aa11a6cd 100644 --- a/fhem/FHEM/96_allowed.pm +++ b/fhem/FHEM/96_allowed.pm @@ -134,7 +134,7 @@ allowed_Authenticate($$$$) $cl->{AuthenticatedBy} = $aName if($r == 1); $cl->{AuthenticationDeniedBy} = $aName if($r == 2 && $a); if($me->{doReport} && $cl->{PEER}) { - my $peer = "$cl->{TYPE}:$cl->{PEER}:$cl->{PORT}"; + my $peer = "$cl->{SNAME}:$cl->{PEER}:$cl->{PORT}"; DoTrigger($aName, "accepting connection from $peer") if($r != 2 && $me->{doReport} & 1); DoTrigger($aName, "denying connection from $peer")