summaryrefslogtreecommitdiffstats
path: root/web/attachments/79492-check_ping.c.diff
blob: 8a201cf8c1bca8846dde27f1e8bf3c96e966ea14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- check_ping.c.orig	2003-01-13 06:15:16.000000000 -0600
+++ check_ping.c	2004-03-09 13:56:46.000000000 -0600
@@ -391,6 +391,11 @@
 						&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 errors, %d%% packet loss, time", &pl) == 1
+					/* RHES 3.0 as reported by Todd A. Green
+                                           Note: This must come before the Suse line below
+                                         */
 				|| sscanf
 					(input_buffer, "%*d packets transmitted, %*d received, %d%% loss, time", &pl) == 1
 					/* Suse 8.0 as reported by Richard * Brodie */