commit | 0e6b7d3171988cf745d4d99006459bcea99e6e34 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Nov 19 19:01:26 2008 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Nov 19 19:01:26 2008 +0100 |
tree | 56b6c0ea4cbf34b7913cd8397b81cee8559977e3 | |
parent | 03d99486d8283552705b58dc55b6085dffc38792 [diff] |
iptables: fix error reporting with wrong/missing arguments This patch fixes wrong error reporting when arguments are missing: # iptables -I INPUT -m state --state iptables v1.4.2-rc1: Unknown arg `(null)' Try `iptables -h' or 'iptables --help' for more information. or wrong: # iptables -I INPUT -m state --xyz iptables v1.4.2-rc1: Unknown arg `(null)' Try `iptables -h' or 'iptables --help' for more information. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>