]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-events: print usage on wrong arguments
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 16 Jul 2013 19:55:15 +0000 (21:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Dec 2013 22:50:37 +0000 (23:50 +0100)
commit1c73b54e826ffd28e94987b6ced51c4049661793
treea559657f2c9086ce8c4f8a2510a416aa5ee911a9
parente9a0ef8f1e27f5ef13a27f6cc984e8f2e05afd72
xtables-events: print usage on wrong arguments

Set opterr to zero to skip getopt_long error reporting.

This also fixes the following compilation warning:

xtables-events.c:148:13: warning: ‘print_usage’ defined but not used [-Wunused-function]

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/xtables-events.c