From: Kirill A. Korinsky Subject: Re: pfctl: clear statistic for the address To: Alexander Bluhm Cc: OpenBSD tech Date: Wed, 20 Nov 2024 14:58:08 +0100 On Wed, 20 Nov 2024 14:27:55 +0100, Alexander Bluhm wrote: > > On Wed, Nov 20, 2024 at 12:57:22PM +0100, Kirill A. Korinsky wrote: > > On Wed, 20 Nov 2024 12:34:35 +0100, > > Stuart Henderson wrote: > > > > > > > Index: pfctl.8 > > > > =================================================================== > > > > RCS file: /home/cvs/src/sbin/pfctl/pfctl.8,v > > > > diff -u -p -r1.183 pfctl.8 > > > > --- pfctl.8 18 Nov 2022 18:11:10 -0000 1.183 > > > > +++ pfctl.8 20 Nov 2024 11:07:01 -0000 > > > > @@ -517,8 +517,8 @@ Automatically create a persistent table > > > > Show the content (addresses) of a table. > > > > .It Fl T Cm test > > > > Test if the given addresses match a table. > > > > -.It Fl T Cm zero > > > > -Clear all the statistics of a table. > > > > +.It Fl T Cm zero Op Ar address ... > > > > +Clear all the statistics of a table, or only for specified addresses. > > > > .El > > > > > > The "Op Ar address ..." is already shown above for all of these > > > subcommands (and is obviously necessary for -T add, etc), so I don't > > > think it should be listed separately here. > > > > > > > Here an updated patch. > > OK bluhm@ > thanks, commited -- wbr, Kirill