SOURCES: iputils-pf.patch (NEW) - display packet socket warning in...
glen
glen at pld-linux.org
Tue Mar 14 14:01:02 CET 2006
Author: glen Date: Tue Mar 14 13:01:01 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- display packet socket warning in one line so it can be parsed (by check_ping)
---- Files affected:
SOURCES:
iputils-pf.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/iputils-pf.patch
diff -u /dev/null SOURCES/iputils-pf.patch:1.1
--- /dev/null Tue Mar 14 14:01:01 2006
+++ SOURCES/iputils-pf.patch Tue Mar 14 14:00:56 2006
@@ -0,0 +1,11 @@
+--- iputils/ping.c~ 2006-03-14 14:53:31.000000000 +0200
++++ iputils/ping.c 2006-03-14 14:55:07.000000000 +0200
+@@ -1216,7 +1216,7 @@
+ insns[2] = (struct sock_filter)BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __constant_htons(ident), 0, 1);
+
+ if (setsockopt(icmp_sock, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter)))
+- perror("WARNING: failed to install socket filter\n");
++ perror("WARNING: failed to install socket filter");
+ }
+
+
================================================================
More information about the pld-cvs-commit
mailing list