summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-01-10 08:04:50 +0100
committerChris Wright <chrisw@sous-sol.org>2007-02-05 08:31:40 -0800
commit7d9ba65c925f7d8224ce49d4f9cc41f60d758227 (patch)
treef23dc6b253424f4703517bbb25542d37fef9b386 /include
parent1110d9408fe24fa22a8599d6adcaae70744900ed (diff)
[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 <bdschuym@pandora.be> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_arp/arp_tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h
index 0be235418a2f..24c8786d12e9 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