summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_policy.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-01-31 16:49:50 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-01-31 16:49:50 +0100
commit028ad9ec6d5c27c107c9a7a316617cbe366abb0f (patch)
tree2e74710cf12ce49bc9f04264cab127043d4389f0 /extensions/libxt_policy.c
parentcd46b143c32f2cf76ada7a9503243ba9e45bb163 (diff)
policy: fix error message showing wrong option
Diffstat (limited to 'extensions/libxt_policy.c')
-rw-r--r--extensions/libxt_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_policy.c b/extensions/libxt_policy.c
index 521bac1a..a87ddd89 100644
--- a/extensions/libxt_policy.c
+++ b/extensions/libxt_policy.c
@@ -292,7 +292,7 @@ static void policy_check(unsigned int flags)
if (!(info->flags & (XT_POLICY_MATCH_IN | XT_POLICY_MATCH_OUT)))
xtables_error(PARAMETER_PROBLEM,
- "policy match: neither --in nor --out specified");
+ "policy match: neither --dir in nor --dir out specified");
if (info->flags & XT_POLICY_MATCH_NONE) {
if (info->flags & XT_POLICY_MATCH_STRICT)