From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [patch 2/4] Add support for --set-counters to iptables -P Date: Mon, 12 May 2008 20:40:45 +0200 Message-ID: <48288F2D.8040904@trash.net> References: <1210616702.3442.33.camel@henriknordstrom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Henrik Nordstrom , netfilter-devel@vger.kernel.org To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:50270 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755986AbYELSlW (ORCPT ); Mon, 12 May 2008 14:41:22 -0400 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > On Monday 2008-05-12 20:25, Henrik Nordstrom wrote: > >> Adds support for setting the policy counters >> >> iptables -P INPUT -J DROP -c 10 20 > > Could this perhaps be changed so that -c only takes one argument? > Like -c 10,20. This would ease integration with passthrough > argument parsing in 3rd party applications. I already applied it, in case you want to change anything, please send a patch on top.