2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 02:59:22 +00:00

Blocking.pm: do not use telnet connections with allowfrom flag set

git-svn-id: https://svn.fhem.de/fhem/trunk@3713 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-08-16 06:59:46 +00:00
parent a27c3d9a6a
commit 9ae0a74be4

View File

@ -38,7 +38,7 @@ BlockingCall($$@)
foreach my $d (sort keys %defs) {
my $h = $defs{$d};
next if(!$h->{TYPE} || $h->{TYPE} ne "telnet" || $h->{SNAME});
next if($attr{$d}{SSL} || $attr{$d}{password});
next if($attr{$d}{SSL} || $attr{$d}{password} || $attr{$d}{allowfrom});
next if($h->{DEF} =~ m/IPV6/);
$telnetDevice = $d;
last;