summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ping.c')
-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 3a02597c..5eada4f4 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