--- include/linux/netfilter_ipv4/ip_tables.h.orig 2007-04-07 20:30:25.344365707 +0200 +++ include/linux/netfilter_ipv4/ip_tables.h 2007-04-07 20:34:05.076887550 +0200 @@ -34,6 +34,12 @@ #define ipt_table xt_table #define ipt_get_revision xt_get_revision +#define ipt_register_match(mtch) \ +({ (mtch)->family = AF_INET; \ + xt_register_match(mtch); }) +#define ipt_unregister_match(mtch) xt_unregister_match(mtch) + + /* Yes, Virginia, you have to zero the padding. */ struct ipt_ip { /* Source and destination IP addr */