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

53_GHoma.pm: accept upprt case MAC

git-svn-id: https://svn.fhem.de/fhem/trunk@11632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klauswitt 2016-06-07 20:36:58 +00:00
parent 9f6544c3c7
commit 6921600161

View File

@ -166,7 +166,7 @@ sub GHoma_Define($$$) { #
#my $name = $a[0]; #my $name = $a[0];
# my $addr = $a[2]; # my $addr = $a[2];
#$hash->{Id} = pack('C*', ( hex(substr($pport,0,2)), hex(substr($pport,2,2)), hex(substr($pport,4,2)) ) ); #$hash->{Id} = pack('C*', ( hex(substr($pport,0,2)), hex(substr($pport,2,2)), hex(substr($pport,4,2)) ) );
$hash->{Id} = $pport; $hash->{Id} = lc $pport;
return; return;
} }