From 7d134133eb28389fb0684c276a255fc492b2598e Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Thu, 4 Jan 2007 11:35:56 +0000 Subject: 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 --- plugins/check_ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } /* handle timeouts gracefully */ - alarm (timeout_interval); + alarm (timeout_interval + 1); for (i = 0 ; i < n_addresses ; i++) { -- cgit v1.2.3-74-g34f1