mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Changed default millisec + removed check for loss < 0
This commit is contained in:
@@ -503,7 +503,7 @@ function isPingable($hostname,$device_id = FALSE)
|
||||
}
|
||||
$response = array();
|
||||
$status = fping($hostname,$fping_params);
|
||||
if ($status['loss'] < 0 || $status['loss'] == 100) {
|
||||
if ($status['loss'] == 100) {
|
||||
$response['result'] = FALSE;
|
||||
} else {
|
||||
$response['result'] = TRUE;
|
||||
|
Reference in New Issue
Block a user