From cbe87af86bb64628f9b41ce9b18c070b0ce1bb34 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 14 Feb 2020 14:32:04 +0000 Subject: [PATCH] 96_allowed.pm: change the event content a little (Forum #108420) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21197 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/96_allowed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/96_allowed.pm b/FHEM/96_allowed.pm index 2aef79c99..1aa11a6cd 100644 --- a/FHEM/96_allowed.pm +++ b/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")