[Nagiosplug-checkins] nagiosplug/plugins check_ping.c,1.53,1.54

Thomas Guyot dermoth at users.sourceforge.net
Thu Jan 4 12:35:59 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6395/plugins

Modified Files:
	check_ping.c 
Log Message:
Fix bug #1592605: check_ping times out


Index: check_ping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ping.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- check_ping.c	9 Nov 2006 11:44:16 -0000	1.53
+++ check_ping.c	4 Jan 2007 11:35:56 -0000	1.54
@@ -104,7 +104,7 @@
 	}
 
 	/* handle timeouts gracefully */
-	alarm (timeout_interval);
+	alarm (timeout_interval + 1);
 
 	for (i = 0 ; i < n_addresses ; i++) {
 		





More information about the Commits mailing list