Merge branch 'ent-7001-open-modulos-host-latency-no-reportan-datos' into 'develop'

Fixed latency modules

See merge request artica/pandorafms!3813
This commit is contained in:
Daniel Rodriguez 2021-02-03 17:09:03 +01:00
commit 6dee7a68db
1 changed files with 4 additions and 2 deletions

View File

@ -498,7 +498,9 @@ sub exec_network_module ($$$$) {
$module_data = pandora_ping_latency ($pa_config, $ip_target, $timeout, $retries);
if (defined($module_data)) {
$module_result = 1; # Unsuccessful
$module_result = 0; # Successful
} else {
$module_result = 1; # Unsuccessful: Cannot reach target.
}
}