diff --git a/controls_LGTV_WebOS.txt b/controls_LGTV_WebOS.txt index 6a2b046..f4cbc0d 100644 --- a/controls_LGTV_WebOS.txt +++ b/controls_LGTV_WebOS.txt @@ -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 diff --git a/lib/FHEM/Devices/LGTV/LGTVWebOS.pm b/lib/FHEM/Devices/LGTV/LGTVWebOS.pm index 6d607e6..2b93409 100644 --- a/lib/FHEM/Devices/LGTV/LGTVWebOS.pm +++ b/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 );