]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[NETFILTER]: arp_tables: fix userspace compilation
authorBart De Schuymer <bdschuym@pandora.be>
Tue, 9 Jan 2007 22:33:11 +0000 (14:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2007 22:33:11 +0000 (14:33 -0800)
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: David S. Miller <davem@davemloft.net>
include/linux/netfilter_arp/arp_tables.h

index 0be235418a2f490b2b56f1942e05e6110fd767e0..24c8786d12e9f0bc2af9b3fde7bf092ad87439be 100644 (file)
@@ -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