Author: glen Date: Tue Mar 14 13:25:59 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - ignore "WARNING: failed to install socket filter: Protocol not available" message
---- Files affected: SOURCES: nagios-plugins-check_ping-socket-filter-warning.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch diff -u /dev/null SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch:1.1 --- /dev/null Tue Mar 14 14:25:59 2006 +++ SOURCES/nagios-plugins-check_ping-socket-filter-warning.patch Tue Mar 14 14:25:54 2006 @@ -0,0 +1,12 @@ +--- nagios-plugins-1.4.2/plugins/check_ping.c~ 2005-09-14 17:40:20.000000000 +0300 ++++ nagios-plugins-1.4.2/plugins/check_ping.c 2006-03-14 15:14:24.000000000 +0200 +@@ -453,7 +453,8 @@ + + /* 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") || ++ ! strstr(buf,"WARNING: failed to install socket filter: Protocol not available")) + result = max_state (STATE_WARNING, error_scan (buf, addr)); + + (void) fclose (child_stderr); ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
