DevIo.pm: privacy attribute, by betateilchen (Forum #97765)

git-svn-id: https://svn.fhem.de/fhem/trunk@18702 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2019-02-23 15:10:58 +00:00
parent 8a3fbb806f
commit df4d9990c1
2 changed files with 3 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ MQTT2_CLIENT_Initialize($)
msgAfterConnect
msgBeforeDisconnect
mqttVersion:3.1.1,3.1
privacy:0,1
rawEvents
subscriptions
SSL

View File

@@ -283,7 +283,8 @@ DevIo_OpenDev($$$;$)
$hash->{PARTIAL} = "";
Log3 $name, 3, ($hash->{DevioText} ? $hash->{DevioText} : "Opening").
" $name device $dev" if(!$reopen);
" $name device ". (AttrVal($name,"privacy",0) ? "(private)" : $dev)
if(!$reopen);
if($dev =~ m/^UNIX:(SEQPACKET|STREAM):(.*)$/) { # FBAHA
my ($type, $fname) = ($1, $2);