[patch 2/3] some xtables changes (xt_match,xt_target)
Patrick McHardy
kaber at trash.net
Fri Jan 26 15:17:49 CET 2007
Jan Engelhardt wrote:
> [PATCH 2/3] XT: xt_match and xt_target
>
> BTW, ip_nat_rule.c <-> nf_nat_rule.c seems to be an almost identical
> copy. Schedule one for removal?
>
> Signed-off-by: Jan Engelhardt <jengelh at gmx.de>, 2007-01-17
>
> Index: linux-2.6.20-rc6/include/linux/netfilter_ipv4/ip_tables.h
> ===================================================================
> --- linux-2.6.20-rc6.orig/include/linux/netfilter_ipv4/ip_tables.h
> +++ linux-2.6.20-rc6/include/linux/netfilter_ipv4/ip_tables.h
> @@ -29,8 +29,6 @@
>
> #define IPT_FUNCTION_MAXNAMELEN XT_FUNCTION_MAXNAMELEN
> #define IPT_TABLE_MAXNAMELEN XT_TABLE_MAXNAMELEN
> -#define ipt_match xt_match
> -#define ipt_target xt_target
> #define ipt_table xt_table
> #define ipt_get_revision xt_get_revision
Applied, but I removed this part since its needed for userspace compilation.
More information about the netfilter-devel
mailing list