From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Fw: Problems with nf_nat_ftp.ko and nf_conntrack_ftp.ko in 2.6.22.6 Date: Mon, 12 Nov 2007 08:39:14 +0100 Message-ID: <47380322.8040707@trash.net> References: <4731A7A9.1050606@trash.net> <1194478191.2983.7.camel@localhost.localdomain> <4737EBF6.6000506@trash.net> <47380238.6070502@snapgear.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47380238.6070502@snapgear.com> Sender: netfilter-devel-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Philip Craig Cc: Bart De Schuymer , "bdschuym@pandora.be" , ron lai , netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org Philip Craig wrote: > Patrick McHardy wrote: >> Both are fine with me. Does this patch look correct to you? >> >> + if (!nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT)) > > I think it needs more parentheses: > > if (!(nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT))) > Yes, I already noticed and fixed that when trying to compile it :)