Permalink
Browse files

Revert changes for ping host devices

  • Loading branch information...
T-REX-XP committed Aug 3, 2018
1 parent a5f19c6 commit f05e7fef8d87231adfd31214d555bcabc558b798
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/ssdp_finder/ssdp_finder.class.php
@@ -445,7 +445,7 @@ function add_to_pinghost($id) {
$pinghosts['SEARCH_WORD'] = $ssdpdevice['UUID'];
$pinghosts['OFFLINE_INTERVAL'] = '600';
$pinghosts['ONLINE_INTERVAL'] = '600';
$pinghosts['HOSTNAME'] = $ssdpdevice['ADDRESS'];;
$pinghosts['HOSTNAME'] = $ssdpdevice['CONTROLADDRESS'];
$pinghosts['CODE_OFFLINE'] = 'say("Устройство ".$host[\'TITLE\']." пропало из сети, возможно его отключили" ,2);';
$pinghosts['CODE_ONLINE'] = 'say("Устройство ".$host[\'TITLE\']." появилось в сети." ,2);';
$pinghosts['LINKED_OBJECT'] = $ssdpdevice['LINKED_OBJECT'];

0 comments on commit f05e7fe

Please sign in to comment.