diff options
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 26810f32..2d7e24d4 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -423,6 +423,7 @@ run_ping (const char *cmd, const char *addr) | |||
423 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 || | 423 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 || |
424 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || | 424 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || |
425 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || | 425 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || |
426 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time", &pl)==1 || | ||
426 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1) | 427 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1) |
427 | continue; | 428 | continue; |
428 | 429 | ||