From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: Compiling 1.3.6 Date: Mon, 09 Oct 2006 17:44:53 +0200 Message-ID: <452A6E75.2030700@netfilter.org> References: <00be01c6e977$1ba6bcd0$0101a8c0@pcjorge> <452979F7.9090205@netfilter.org> <452A6955.6020100@trash.net> <452A6C96.2070102@netfilter.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <452A6C96.2070102@netfilter.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Patrick McHardy Cc: netfilter@lists.netfilter.org, Netfilter Development Mailinglist Pablo Neira Ayuso wrote: > Patrick McHardy wrote: > >> Pablo Neira Ayuso wrote: >> >>> min_ip and max_ip type has been changed from u_int32_t to __be32 that is >>> not defined in userspace, this breaks iptables compilation. Attached a >>> patch that recovers the use of u_int32_t. I'm not sure if this is the >>> best fix so let me know what you think. >> >> >> >> I think we should just define the endian-annotation types in userspace. >> Does this patch fix compilation? > > > But this breaks previous iptables version with new kernels :(. An > alternative can be exporting ipt_iprange.h to iptables/include although > this is also a hack. Forget the alternative, it won't work either -- The dawn of the fourth age of Linux firewalling is coming; a time of great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris