]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
NETFILTER: arp_tables: fix userspace compilation
authorBart De Schuymer <bdschuym@pandora.be>
Sat, 24 Mar 2007 20:19:35 +0000 (21:19 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sat, 24 Mar 2007 20:19:35 +0000 (21:19 +0100)
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>
include/linux/netfilter_arp/arp_tables.h

index fd21796e513141af6f77239a9ddd9a1df06f956e..cfe1af67f6a8659c13396eb164656363ed6bfc89 100644 (file)
@@ -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