diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ping.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 191fbedf..ab5e0cc3 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -419,7 +419,8 @@ run_ping (const char *cmd, const char *addr) | |||
419 | if(sscanf(buf,"%*d packets transmitted, %*d packets received, +%*d errors, %d%% packet loss",&pl)==1 || | 419 | if(sscanf(buf,"%*d packets transmitted, %*d packets received, +%*d errors, %d%% packet loss",&pl)==1 || |
420 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 || | 420 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 || |
421 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || | 421 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || |
422 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1) | 422 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || |
423 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1) | ||
423 | continue; | 424 | continue; |
424 | 425 | ||
425 | /* get the round trip average */ | 426 | /* get the round trip average */ |