[Nagiosplug-checkins] CVS: nagiosplug/plugins check_ping.c,1.2,1.3

Subhendu Ghosh sghosh at users.sourceforge.net
Wed May 8 09:11:15 CEST 2002


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory usw-pr-cvs1:/tmp/cvs-serv3743

Modified Files:
	check_ping.c 
Log Message:
 patch for Suse 8.0 loss output 

Index: check_ping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ping.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** check_ping.c	23 Apr 2002 12:50:51 -0000	1.2
--- check_ping.c	8 May 2002 15:35:37 -0000	1.3
***************
*** 397,401 ****
  						&pl) == 1
  				|| sscanf 
! 					(input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1	
  				)
  			continue;
--- 397,404 ----
  						&pl) == 1
  				|| sscanf 
! 					(input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1
! 				|| sscanf
! 					(input_buffer, "%*d packets transmitted, %*d received, %d%% loss, time", &pl) == 1
! 					/* Suse 8.0 as reported by Richard * Brodie */
  				)
  			continue;





More information about the Commits mailing list