Changed default millisec + removed check for loss < 0

This commit is contained in:
laf
2015-06-23 09:01:36 +01:00
parent 0525ca79bc
commit 9e5c6f87bb
2 changed files with 2 additions and 2 deletions

View File

@@ -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;