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:
parent
9f6544c3c7
commit
6921600161
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user