summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2007-03-24 21:19:35 +0100
committerAdrian Bunk <bunk@stusta.de>2007-03-24 21:19:35 +0100
commit3a52770aa9ebaf59e6ae8da8f718e169ecfe61ec (patch)
treef7445f749e915cd40db6c1580f114af1e804611c /include
parent9003d12b0a6ae9b19e5f60296c2dec37ff84f73b (diff)
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: Adrian Bunk <bunk@stusta.de>
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 fd21796e5131..cfe1af67f6a8 100644
--- a/include/linux/netfilter_arp/arp_tables.h
+++ b/include/linux/netfilter_arp/arp_tables.h
@@ -216,6 +216,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