summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-01-04 11:35:56 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-01-04 11:35:56 +0000
commit7d134133eb28389fb0684c276a255fc492b2598e (patch)
tree2ab9c3af432793f05542a457dc685dea449d7fe4
parentd2a434d4dba454df5b3295520a28eb28ed098e55 (diff)
downloadmonitoring-plugins-7d134133eb28389fb0684c276a255fc492b2598e.tar.gz
Fix bug #1592605: check_ping times out
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1559 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 9652ab7f..eb3a6dbf 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -104,7 +104,7 @@ main (int argc, char **argv)
104 } 104 }
105 105
106 /* handle timeouts gracefully */ 106 /* handle timeouts gracefully */
107 alarm (timeout_interval); 107 alarm (timeout_interval + 1);
108 108
109 for (i = 0 ; i < n_addresses ; i++) { 109 for (i = 0 ; i < n_addresses ; i++) {
110 110