mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Fixed some scrut major issues
This commit is contained in:
@@ -39,12 +39,12 @@ function discover_new_device($hostname)
|
||||
|
||||
if ( match_network($config['nets'], $ip) )
|
||||
{
|
||||
$remote_device_id = addHost ($dst_host);
|
||||
$remote_device_id = addHost ($dst_host,'');
|
||||
if ($remote_device_id) {
|
||||
$remote_device = device_by_id_cache($remote_device_id, 1);
|
||||
echo("+[".$remote_device['hostname']."(".$remote_device['device_id'].")]");
|
||||
discover_device($remote_device);
|
||||
$remote_device = device_by_id_cache($remote_device_id, 1);
|
||||
device_by_id_cache($remote_device_id, 1);
|
||||
return $remote_device_id;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user