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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10213 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-12-20 11:48:32 +00:00
parent a0b0403a05
commit 1fb6626ca8

View File

@@ -44,6 +44,8 @@ BlockingCall($$@)
next if(!$h->{TYPE} || $h->{TYPE} ne "telnet" || $h->{SNAME}); 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} ||
AttrVal($d, "allowfrom", "127.0.0.1") ne "127.0.0.1"); 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/); next if($h->{DEF} =~ m/IPV6/);
$telnetDevice = $d; $telnetDevice = $d;
last; last;