summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-02-09 11:39:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-02-09 11:39:07 +0000
commitdcee257186f1ed0c170920b5bd901f791dbf6af3 (patch)
tree1f732b5e311b45caceff79d6414946fe93f787c7 /share
parent8d9424625f20b649b2e31180de823f40b3c70fdc (diff)
document how to clear rule counters with DIOCGETRULES
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/pf.47
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
index 658c41ea7db..1164202d234 100644
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.4,v 1.57 2006/06/10 16:13:00 beck Exp $
+.\" $OpenBSD: pf.4,v 1.58 2007/02/09 11:39:06 henning Exp $
.\"
.\" Copyright (C) 2001, Kjell Wooding. All rights reserved.
.\"
@@ -184,6 +184,11 @@ using the
obtained through a preceding
.Dv DIOCGETRULES
call.
+If
+.Va action
+is set to
+.Dv PF_GET_CLR_CNTR ,
+the per-rule statistics on the requested rule are cleared.
.It Dv DIOCGETADDRS Fa "struct pfioc_pooladdr *pp"
Get a
.Va ticket