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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user