summaryrefslogtreecommitdiffstats
path: root/web/attachments/281050-check_ping_countermeasures.patch
blob: ce62a42909228dd21560ea0e3e380b67cbd7a6bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- nagios-plugins-1.4.6-modified/plugins/check_ping.c	2008-06-11 10:08:35.000000000 -0400
+++ nagios-plugins-1.4.6/plugins/check_ping.c	2008-06-11 10:07:08.000000000 -0400
@@ -470,11 +470,7 @@ run_ping (const char *cmd, const char *a
 	/* check stderr, setting at least WARNING if there is output here */
 	/* Add warning into warn_text */
 	while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) {
-		if (
-			! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")
-			&& ! strstr(buf,"Warning: time of day goes back")
-
-		) {
+		if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")) {
 			if (verbose >= 3) {
 				printf("Got stderr: %s", buf);
 			}