diff options
author | Guruswamy Basavaiah <guru2018@gmail.com> | 2016-02-25 11:04:50 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-03-01 18:49:14 +0100 |
commit | 4f75601d37349c5a983a969d46c1ff0604991b5c (patch) | |
tree | 4aa7e01fff7aea75e82295bf53558a7ade8fcb1e /extensions/libipt_SNAT.c | |
parent | 1899fe1762df1cfcc7a0c5088f4947947cd6ea69 (diff) |
iptables: extensions: iptables-translate prints extra "nft" after printing any error
Output of command "./iptables-translate junk" is Bad argument
`junk' Try `iptables-translate -h' or 'iptables-translate --help' for more
information. nft
Output of command "./iptables-translate -B" is
iptables-translate v1.6.0: unknown option "-B"
Try `iptables-translate -h' or 'iptables-translate --help' for more
information.
nft
nft should have not been printed in both the cases. Moving the printf
call after the do_parse function call
Signed-off-by: Guruswamy Basavaiah <guru2018@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libipt_SNAT.c')
0 files changed, 0 insertions, 0 deletions