[PATCH][ARPTABLES] translate arpt_counters to xt_counters

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
Hi Patrick,

The included patch translates arpt_counters to xt_counters, making
userspace arptables compile against recent kernels.

Please apply,
Bart

Signed-off-by: Bart De Schuymer <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Ebtables-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebtables-devel
patch_arp_tables.diff (text/x-patch, 434 B)
--- linux-2.6.19.1/include/linux/netfilter_arp/arp_tables.h.old	2007-01-07 16:23:29.000000000 +0100
+++ linux-2.6.19.1/include/linux/netfilter_arp/arp_tables.h	2007-01-07 16:23:32.000000000 +0100
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.