From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [netfilter-core] [ANNOUNCE] Release of iptables 1.4.1-rc2 Date: Tue, 27 May 2008 15:11:42 +0200 Message-ID: <483C088E.4020405@trash.net> References: <483AB493.6010503@trash.net> <483BB9DE.6050003@trash.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020007020505020800070200" Return-path: In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: To: "Gabor Z. Papp" Cc: netfilter@vger.kernel.org, Netfilter Development Mailinglist , Netfilter Core Team This is a multi-part message in MIME format. --------------020007020505020800070200 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Gabor Z. Papp wrote: > * Patrick McHardy : > > | Thanks for the report. Does this patch fix it? > > Not really. > > CC libxt_connlimit.oo > In file included from /usr/include/linux/netfilter_ipv4.h:9, > from ../include/linux/netfilter_ipv4/ip_tables.h:19, > from ../include/libiptc/libiptc.h:7, > from ../include/iptables.h:5, > from libxt_connlimit.c:8: > ../include/linux/netfilter.h:42: error: expected specifier-qualifier-list before '__be32' > make[2]: *** [libxt_connlimit.oo] Error 1 > make[2]: Leaving directory `/home/gzp/src/iptables-1.4.1-rc2/extensions' > make[1]: *** [all-recursive] Error 1 Your types.h doesn't seem to include the endian annotated types at all. Does this patch work? --------------020007020505020800070200 Content-Type: text/plain; name="x" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="x" diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 4196a51..b64a513 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -38,8 +38,8 @@ enum nf_inet_hooks { union nf_inet_addr { __u32 all[4]; - __be32 ip; - __be32 ip6[4]; + __u32 ip; + __u32 ip6[4]; struct in_addr in; struct in6_addr in6; }; --------------020007020505020800070200--