From: Chris Wright Subject: [patch 09/59] NETFILTER: arp_tables: fix userspace compilation Date: Fri, 02 Feb 2007 18:35:13 -0800 Message-ID: <20070203023858.260820000@sous-sol.org> References: <20070203023504.435051000@sous-sol.org> Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Patrick McHardy , netfilter-devel@lists.netfilter.org, davem@davemloft.net, Bart De Schuymer To: linux-kernel@vger.kernel.org, stable@kernel.org Return-path: Content-Disposition: inline; filename=netfilter-arp_tables-fix-userspace-compilation.patch Sender: linux-kernel-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org -stable review patch. If anyone has any objections, please let us know. ------------------ From: Patrick McHardy The included patch translates arpt_counters to xt_counters, making userspace arptables compile against recent kernels. Signed-off-by: Bart De Schuymer Signed-off-by: Patrick McHardy Signed-off-by: Chris Wright --- include/linux/netfilter_arp/arp_tables.h | 1 + 1 file changed, 1 insertion(+) --- linux-2.6.19.2.orig/include/linux/netfilter_arp/arp_tables.h +++ linux-2.6.19.2/include/linux/netfilter_arp/arp_tables.h @@ -190,6 +190,7 @@ struct arpt_replace /* The argument to ARPT_SO_ADD_COUNTERS. */ #define arpt_counters_info xt_counters_info +#define arpt_counters xt_counters /* The argument to ARPT_SO_GET_ENTRIES. */ struct arpt_get_entries --