Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > f4499023501b5aeeba06de76c2317493 > files > 2

nagios-plugins-2.4.0-4.mga9.src.rpm

diff -Naur -x '*.rej' -x '*.orig' -x '*~' nagios-plugins-2.0.3/plugins/check_ping.c nagios-plugins-2.0.3-check_ping-socket-filter-warning/plugins/check_ping.c
--- nagios-plugins-2.0.3/plugins/check_ping.c	2014-05-20 21:15:34.000000000 +0200
+++ nagios-plugins-2.0.3-check_ping-socket-filter-warning/plugins/check_ping.c	2014-08-02 15:08:07.761840896 +0200
@@ -487,6 +487,7 @@
 	while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) {
 		if (
 			! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")
+			&& ! strstr(buf,"WARNING: failed to install socket filter: Protocol not available")
 			&& ! strstr(buf,"Warning: time of day goes back")
 
 		) {