summaryrefslogtreecommitdiffstats
path: root/iptables.8.in
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-11-22 22:22:28 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-11-22 22:22:28 +0000
commitdef71f9f3d02dbccb0fa7a9bc838fa47ea0792fc (patch)
tree2c4554e7dfa5eb3f6a2df5097f78e22e0c555442 /iptables.8.in
parent279e8aef344add086931b384c129245a81dddea3 (diff)
note that we can only delete chains that are empty
Diffstat (limited to 'iptables.8.in')
-rw-r--r--iptables.8.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/iptables.8.in b/iptables.8.in
index 0288c17..66800a5 100644
--- a/iptables.8.in
+++ b/iptables.8.in
@@ -222,9 +222,10 @@ target of that name already.
.TP
.BR "-X, --delete-chain " "[\fIchain\fP]"
Delete the optional user-defined chain specified. There must be no references
-to the chain. If there are, you must delete or replace the referring
-rules before the chain can be deleted. If no argument is given, it
-will attempt to delete every non-builtin chain in the table.
+to the chain. If there are, you must delete or replace the referring rules
+before the chain can be deleted. The chain must be empty, i.e. not contain
+any rules. If no argument is given, it will attempt to delete every
+non-builtin chain in the table.
.TP
.BI "-P, --policy " "chain target"
Set the policy for the chain to the given target. See the section