From 3a52770aa9ebaf59e6ae8da8f718e169ecfe61ec Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sat, 24 Mar 2007 21:19:35 +0100 Subject: [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: Adrian Bunk --- include/linux/netfilter_arp/arp_tables.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h index fd21796e513..cfe1af67f6a 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 -- 2.34.1