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 a583dace04
commit 3253544102

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);
}
}