summaryrefslogtreecommitdiffstats
path: root/web/attachments/281050-check_ping_countermeasures.patch
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/281050-check_ping_countermeasures.patch')
-rw-r--r--web/attachments/281050-check_ping_countermeasures.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/attachments/281050-check_ping_countermeasures.patch b/web/attachments/281050-check_ping_countermeasures.patch
new file mode 100644
index 0000000..ce62a42
--- /dev/null
+++ b/web/attachments/281050-check_ping_countermeasures.patch
@@ -0,0 +1,15 @@
1--- nagios-plugins-1.4.6-modified/plugins/check_ping.c 2008-06-11 10:08:35.000000000 -0400
2+++ nagios-plugins-1.4.6/plugins/check_ping.c 2008-06-11 10:07:08.000000000 -0400
3@@ -470,11 +470,7 @@ run_ping (const char *cmd, const char *a
4 /* check stderr, setting at least WARNING if there is output here */
5 /* Add warning into warn_text */
6 while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) {
7- if (
8- ! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")
9- && ! strstr(buf,"Warning: time of day goes back")
10-
11- ) {
12+ if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")) {
13 if (verbose >= 3) {
14 printf("Got stderr: %s", buf);
15 }