[PATCH] Fix iptables compilation with support for iprange iptables requires ipt_iprange.h that defines max_ip and min_ip as __be32 that is not defined in userspace. Reported by Jorge Bastos. Signed-off-by: Pablo Neira Ayuso Index: net-2.6/include/linux/netfilter_ipv4/ipt_iprange.h =================================================================== --- net-2.6.orig/include/linux/netfilter_ipv4/ipt_iprange.h 2006-10-09 00:15:42.000000000 +0200 +++ net-2.6/include/linux/netfilter_ipv4/ipt_iprange.h 2006-10-09 00:15:55.000000000 +0200 @@ -8,7 +8,7 @@ struct ipt_iprange { /* Inclusive: network order. */ - __be32 min_ip, max_ip; + u_int32_t min_ip, max_ip; }; struct ipt_iprange_info