Blob Blame History Raw
--- iptables-1.2.9/libipq/libipq.c.netlink	2003-12-05 17:00:07.000000000 +0100
+++ iptables-1.2.9/libipq/libipq.c	2003-12-05 17:00:39.000000000 +0100
@@ -171,6 +171,10 @@
 		ipq_errno = IPQ_ERR_RECV;
 		return -1;
 	}
+	if (h->peer.nl_pid != 0) {
+		ipq_errno = IPQ_ERR_RECV;
+		return -1;
+	}
 	if (status == 0) {
 		ipq_errno = IPQ_ERR_NLEOF;
 		return -1;