summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ping.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 3a02597..5eada4f 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -396,7 +396,10 @@ run_ping (char *command_line)
396 (input_buffer, "%*d packets transmitted, %*d packets received, %d%% packet loss", 396 (input_buffer, "%*d packets transmitted, %*d packets received, %d%% packet loss",
397 &pl) == 1 397 &pl) == 1
398 || sscanf 398 || sscanf
399 (input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1 399 (input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1
400 || sscanf
401 (input_buffer, "%*d packets transmitted, %*d received, %d%% loss, time", &pl) == 1
402 /* Suse 8.0 as reported by Richard * Brodie */
400 ) 403 )
401 continue; 404 continue;
402 405