]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables: manpage updates for augmented -Z syntax
authorJan Engelhardt <jengelh@medozas.de>
Wed, 19 Aug 2009 20:36:03 +0000 (22:36 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 20 Aug 2009 15:22:37 +0000 (17:22 +0200)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
ip6tables.8.in
iptables.8.in

index 7d9a6171149882038b55dd84324cf0d332d14910..66d8543c35ff25f9e730da19172729b48c1904be 100644 (file)
@@ -42,7 +42,7 @@ rule-specification\fP [\fIoptions...\fP]
 \fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-S\fP [\fIchain\fP [\fIrulenum\fP]]
 .PP
 \fBip6tables\fP [\fB\-t\fP \fItable\fP] {\fB\-F\fP|\fB\-L\fP|\fB\-Z\fP}
-[\fIchain\fP] [\fIoptions...\fP]
+[\fIchain\fP [\fIrulenum\fP]] [\fIoptions...\fP]
 .PP
 \fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-N\fP \fIchain\fP
 .PP
@@ -182,8 +182,9 @@ it applies to the specified table (filter is the default).
 Flush the selected chain (all the chains in the table if none is given).
 This is equivalent to deleting all the rules one by one.
 .TP
-\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP]
-Zero the packet and byte counters in all chains.  It is legal to
+\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP [\fIrulenum\fP]]
+Zero the packet and byte counters in all chains, or only the given chain,
+or only the given rule in a chain. It is legal to
 specify the
 \fB\-L\fP, \fB\-\-list\fP
 (list) option as well, to see the counters immediately before they are
index 6125e65994884be444ecc723e7ab00954a9116cd..928f46a9ef8e2107015ad57dbaa2935008a36972 100644 (file)
@@ -35,7 +35,7 @@ iptables \(em administration tool for IPv4 packet filtering and NAT
 .PP
 \fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-S\fP [\fIchain\fP [\fIrulenum\fP]]
 .PP
-\fBiptables\fP [\fB\-t\fP \fItable\fP] {\fB\-F\fP|\fB\-L\fP|\fB\-Z\fP} [\fIchain\fP] [\fIoptions...\fP]
+\fBiptables\fP [\fB\-t\fP \fItable\fP] {\fB\-F\fP|\fB\-L\fP|\fB\-Z\fP} [\fIchain\fP [\fIrulenum\fP]] [\fIoptions...\fP]
 .PP
 \fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-N\fP \fIchain\fP
 .PP
@@ -189,8 +189,9 @@ it applies to the specified table (filter is the default).
 Flush the selected chain (all the chains in the table if none is given).
 This is equivalent to deleting all the rules one by one.
 .TP
-\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP]
-Zero the packet and byte counters in all chains.  It is legal to
+\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP [\fIrulenum\fP]]
+Zero the packet and byte counters in all chains, or only the given chain,
+or only the given rule in a chain. It is legal to
 specify the
 \fB\-L\fP, \fB\-\-list\fP
 (list) option as well, to see the counters immediately before they are