mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02: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