diff options
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index dad03ffa..7ee08ad9 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -917,7 +917,7 @@ int main(int argc, char **argv) { | |||
917 | time_t max_completion_time = | 917 | time_t max_completion_time = |
918 | ((config.pkt_interval * config.number_of_targets * config.number_of_packets) + | 918 | ((config.pkt_interval * config.number_of_targets * config.number_of_packets) + |
919 | (config.target_interval * config.number_of_targets)) + | 919 | (config.target_interval * config.number_of_targets)) + |
920 | (config.number_of_targets * config.number_of_packets * config.crit.rta) + config.crit.rta; | 920 | (config.crit.rta * config.number_of_targets * config.number_of_packets) + config.crit.rta; |
921 | 921 | ||
922 | if (debug) { | 922 | if (debug) { |
923 | printf("packets: %u, targets: %u\n" | 923 | printf("packets: %u, targets: %u\n" |