SOURCES: nagios-plugins-check_ping-socket-filter-warning.patch - c...
glen
glen at pld-linux.org
Tue Mar 14 14:37:51 CET 2006
Author: glen Date: Tue Mar 14 13:37:51 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- correct
---- Files affected:
SOURCES:
nagios-plugins-check_ping-socket-filter-warning.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch
diff -u SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch:1.1 SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch:1.2
--- SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch:1.1 Tue Mar 14 14:25:54 2006
+++ SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch Tue Mar 14 14:37:46 2006
@@ -5,7 +5,7 @@
/* check stderr, setting at least WARNING if there is output here */
while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr))
- if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP"))
-+ if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP") ||
++ if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP") &&
+ ! strstr(buf,"WARNING: failed to install socket filter: Protocol not available"))
result = max_state (STATE_WARNING, error_scan (buf, addr));
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list