]> git.ipfire.org Git - thirdparty/iptables.git/commit
ebtables-compat: add a bridge-specific exit_error function
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Wed, 11 Mar 2015 17:54:57 +0000 (18:54 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Mar 2015 11:14:40 +0000 (12:14 +0100)
commitd7c61fe15ef7f04c8ecb6724bb5dd0eae1c5e4ca
tree3396b3368d07730d75c94a694e039b687c4b4169
parentaf72a05656c7524febb52ffe2c7eed6ccf1f84ee
ebtables-compat: add a bridge-specific exit_error function

Previous to this patch, error reporting in ebtables-compat was like:

% ebtables-compat xxx
(null) v1.4.21: Bad argument : 'xxx'
Try `(null) -h' or '(null) --help' for more information.

While the original ebtables was:

% ebtables xxx
Bad argument : 'xxx'.

With this patch, we switch to:

% ebtables-compat xxx
Bad argument : 'xxx'.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/xtables-eb.c