]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables.8: --policy is either ACCEPT or DROP
authorFlorian Westphal <fw@strlen.de>
Thu, 17 Apr 2014 11:03:00 +0000 (13:03 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 17 Apr 2014 11:03:00 +0000 (13:03 +0200)
its enforced by both by libiptc and kernel.

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/iptables.8.in

index c6115563ae0062782d9de230ee4011e306ffb409..8ef222e56ef27aa781e00506beb4dcc1a1008aa9 100644 (file)
@@ -224,10 +224,8 @@ any rules.  If no argument is given, it will attempt to delete every
 non-builtin chain in the table.
 .TP
 \fB\-P\fP, \fB\-\-policy\fP \fIchain target\fP
-Set the policy for the chain to the given target.  See the section \fBTARGETS\fP
-for the legal targets.  Only built-in (non-user-defined) chains can have
-policies, and neither built-in nor user-defined chains can be policy
-targets.
+Set the policy for the built-in (non-user-defined) chain to the given target.
+The policy target must be either \fBACCEPT\fP or \fBDROP\fP.
 .TP
 \fB\-E\fP, \fB\-\-rename\-chain\fP \fIold\-chain new\-chain\fP
 Rename the user specified chain to the user supplied name.  This is