2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-06 12:18:46 +00:00

Blocking.pm: add filter for new telnet global parameter (Forum #45741)

git-svn-id: https://svn.fhem.de/fhem/trunk@10213 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-12-20 11:48:32 +00:00
parent 53c558b41a
commit 2bd421cc1a

View File

@ -44,6 +44,8 @@ BlockingCall($$@)
next if(!$h->{TYPE} || $h->{TYPE} ne "telnet" || $h->{SNAME});
next if($attr{$d}{SSL} || $attr{$d}{password} ||
AttrVal($d, "allowfrom", "127.0.0.1") ne "127.0.0.1");
next if($h->{DEF} !~ m/^\d+( global)?$/);
next if($h->{DEF} =~ m/IPV6/);
$telnetDevice = $d;
last;