[Nagiosplug-checkins] nagiosplug/plugins check_ping.c,1.40,1.41

Benoit Mortier opensides at users.sourceforge.net
Tue Dec 28 14:36:01 CET 2004


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

Modified Files:
	check_ping.c 
Log Message:

String match in check_ping for Solaris 10 #1091043



Index: check_ping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ping.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- check_ping.c	25 Dec 2004 23:17:44 -0000	1.40
+++ check_ping.c	28 Dec 2004 22:34:42 -0000	1.41
@@ -430,6 +430,7 @@
 				 sscanf(buf,"round-trip min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 ||
 				 sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f",&rta)==1 ||
 				 sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f",&rta)==1 ||
+				 sscanf(buf,"round-trip (ms) min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 ||
 				 sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1)
 			continue;
 	}





More information about the Commits mailing list