fix Undefined subroutine
fix Undefined subroutine &FHEM::Devices::LGTV::LGTVWebOS::inet_aton [Ticket: no]
This commit is contained in:
parent
f2d5e9ddca
commit
143870e40d
@ -1,2 +1,2 @@
|
||||
UPD 2022-02-02_12:25:53 18011 FHEM/82_LGTV_WebOS.pm
|
||||
UPD 2022-02-02_12:25:53 54234 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
|
||||
UPD 2022-02-02_13:30:55 54238 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
|
||||
|
@ -1808,8 +1808,8 @@ sub WakeUp_Udp {
|
||||
return 1;
|
||||
}
|
||||
|
||||
my $ip_addr = inet_aton($host);
|
||||
my $sock_addr = sockaddr_in( $port, $ip_addr );
|
||||
my $ip_addr = ::inet_aton($host);
|
||||
my $sock_addr = ::sockaddr_in( $port, $ip_addr );
|
||||
$mac_addr =~ s/://xg;
|
||||
my $packet =
|
||||
pack( 'C6H*', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, $mac_addr x 16 );
|
||||
|
Loading…
Reference in New Issue
Block a user