Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 789d96ffa7070008c5c6b7969a8c45e7 > files > 51

nagios-plugins-2.1.4-2.mga6.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")
 
 		) {