From: Harald Welte Date: Tue, 22 Nov 2005 22:22:28 +0000 (+0000) Subject: note that we can only delete chains that are empty X-Git-Tag: v1.3.5~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a02693b57bf968921aa76109712367af17c1a68;p=thirdparty%2Fiptables.git note that we can only delete chains that are empty --- 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