From: "NICOLAS BOULIANE" Subject: Re: [PATCH] libipt_statistic Date: Mon, 2 Jul 2007 12:38:53 -0500 Message-ID: References: <4688F979.60606@trash.net> <46891294.9030405@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Netfilter Development Mailinglist To: "Patrick McHardy" Return-path: In-Reply-To: <46891294.9030405@trash.net> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org On 7/2/07, Patrick McHardy wrote: > It starts at zero and goes up to n - 1. So for the second > packet you would actually use --packet 1. A bit > counterintuitive, I agree, but too late to change. with --every 4 --packet 2 [ count = every - packet ] in the final check: count = 1 every = 3 packet = 2 I don't see what is starting at zero. -- acidfu