From: Patrick McHardy Date: Wed, 10 Jan 2007 07:04:50 +0000 (+0100) Subject: [PATCH] NETFILTER: arp_tables: fix userspace compilation X-Git-Tag: v2.6.19.3~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9ba65c925f7d8224ce49d4f9cc41f60d758227;p=thirdparty%2Fkernel%2Fstable.git [PATCH] NETFILTER: arp_tables: fix userspace compilation 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 --- diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h index 0be235418a2f4..24c8786d12e9f 100644 --- a/include/linux/netfilter_arp/arp_tables.h +++ b/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