mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +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:
parent
53c558b41a
commit
2bd421cc1a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user