2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

10_ZWave.pm: security classes patch (Forum #40771)

git-svn-id: https://svn.fhem.de/fhem/trunk@9944 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-11-20 21:33:55 +00:00
parent 9437091568
commit 10202f2dc6

View File

@ -2079,13 +2079,13 @@ ZWave_secSupported($$)
}
foreach $classname (split(" ", $s1)) {
if ($c1 !~ m/$classname/) {
if ($c1 !~ m/\b$classname\b/) {
$c1 = join (" ", $c1, $classname);
}
}
foreach $classname (split(" ", $s2)) {
if ($c2 !~ m/$classname/) {
if ($c2 !~ m/\b$classname\b/) {
$c2 = join (" ", $c2, $classname);
}
}