diff options
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | plugins/check_ping.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -142,3 +142,5 @@ Ollie Cook | |||
142 | Michael Bakker | 142 | Michael Bakker |
143 | Michael Almond | 143 | Michael Almond |
144 | Paul Wiggins | 144 | Paul Wiggins |
145 | Marcos Della | ||
146 | |||
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 818bb66..2198e32 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -430,6 +430,7 @@ run_ping (const char *cmd, const char *addr) | |||
430 | sscanf(buf,"round-trip min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 || | 430 | sscanf(buf,"round-trip min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 || |
431 | sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f",&rta)==1 || | 431 | sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f",&rta)==1 || |
432 | sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f",&rta)==1 || | 432 | sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f",&rta)==1 || |
433 | sscanf(buf,"round-trip (ms) min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 || | ||
433 | sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1) | 434 | sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1) |
434 | continue; | 435 | continue; |
435 | } | 436 | } |