mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Avoid host latency "fake" value 0
This commit is contained in:
parent
ac47db4986
commit
ac4904f123
@ -498,7 +498,7 @@ sub exec_network_module ($$$$) {
|
|||||||
$module_data = pandora_ping_latency ($pa_config, $ip_target, $timeout, $retries);
|
$module_data = pandora_ping_latency ($pa_config, $ip_target, $timeout, $retries);
|
||||||
|
|
||||||
if (defined($module_data)) {
|
if (defined($module_data)) {
|
||||||
$module_result = 0; # Successful
|
$module_result = 1; # Unsuccessful
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user