]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
policy: fix error message showing wrong option
authorJan Engelhardt <jengelh@medozas.de>
Sun, 31 Jan 2010 15:49:50 +0000 (16:49 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 31 Jan 2010 15:49:50 +0000 (16:49 +0100)
extensions/libxt_policy.c

index 521bac1abcbee4e7f821589654a6a10efbc037e8..a87ddd896572f5fa3aa517712791e0199f23e2e0 100644 (file)
@@ -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)