summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2005-11-22 22:22:28 +0000
committerHarald Welte <laforge@gnumonks.org>2005-11-22 22:22:28 +0000
commit3a02693b57bf968921aa76109712367af17c1a68 (patch)
tree2c4554e7dfa5eb3f6a2df5097f78e22e0c555442
parent11b8591d596913c492833f4a1809c5c735e3d5e0 (diff)
note that we can only delete chains that are empty
-rw-r--r--iptables.8.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/iptables.8.in b/iptables.8.in
index 0288c173..66800a5a 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