mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
00_HMUARTLGW.pm: do not log secret key when logging raw messages
git-svn-id: https://svn.fhem.de/fhem/trunk@12227 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
620fc65f3d
commit
b8ce23d203
@ -1999,6 +1999,10 @@ sub HMUARTLGW_send($$$)
|
||||
$log .= $m;
|
||||
}
|
||||
$v = HMUARTLGW_getVerbLvl($hash, $4, $5, 5);
|
||||
} elsif ($dst == HMUARTLGW_DST_APP && uc($msg) =~ m/^(0[3BF]).*[^0].*$/) {
|
||||
#Key, do not log
|
||||
$log = sprintf("%02X", $dst). " ${1}" . ("XX"x17);
|
||||
$v = HMUARTLGW_getVerbLvl($hash, undef, undef, 5);
|
||||
} else {
|
||||
$log = sprintf("%02X", $dst). " ".uc($msg);
|
||||
$v = HMUARTLGW_getVerbLvl($hash, undef, undef, 5);
|
||||
|
Loading…
Reference in New Issue
Block a user