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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3713 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-08-16 06:59:46 +00:00
parent a4ff8afb71
commit 2609980036

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;