diff options
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_ping.c | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -301,4 +301,5 @@ Pall Sigurdsson | |||
301 | Sebastian Schmidt | 301 | Sebastian Schmidt |
302 | Simon Kainz | 302 | Simon Kainz |
303 | Steve Weinreich | 303 | Steve Weinreich |
304 | Geoff Oakham | ||
304 | Tim Laszlo | 305 | Tim Laszlo |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index c0bb32f..95ac7b4 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -482,7 +482,11 @@ run_ping (const char *cmd, const char *addr) | |||
482 | /* check stderr, setting at least WARNING if there is output here */ | 482 | /* check stderr, setting at least WARNING if there is output here */ |
483 | /* Add warning into warn_text */ | 483 | /* Add warning into warn_text */ |
484 | while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) { | 484 | while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) { |
485 | if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")) { | 485 | if ( |
486 | ! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP") | ||
487 | && ! strstr(buf,"Warning: time of day goes back") | ||
488 | |||
489 | ) { | ||
486 | if (verbose >= 3) { | 490 | if (verbose >= 3) { |
487 | printf("Got stderr: %s", buf); | 491 | printf("Got stderr: %s", buf); |
488 | } | 492 | } |