Re: [iptables PATCH] ebtables: Use xtables_exit_err()

2018-11-23 Thread Florian Westphal
Phil Sutter wrote: > When e.g. ebtables-nft detects an incompatible table, a stray '.' was > printed as last line of output: > > | # ebtables-nft -L > | table `filter' is incompatible, use 'nft' tool. > | . > > This comes from ebtables' own exit_err callback. Instead use the common > one which

[iptables PATCH] ebtables: Use xtables_exit_err()

2018-11-23 Thread Phil Sutter
When e.g. ebtables-nft detects an incompatible table, a stray '.' was printed as last line of output: | # ebtables-nft -L | table `filter' is incompatible, use 'nft' tool. | . This comes from ebtables' own exit_err callback. Instead use the common one which also provides useful version