Skip to content

Commit

Permalink
[NETFILTER]: arp_tables: fix userspace compilation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bart De Schuymer authored and David S. Miller committed Jan 9, 2007
1 parent f9f02cc commit 8c82d8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/netfilter_arp/arp_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c82d8d

Please sign in to comment.