From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Guruswamy Basavaiah <guru2018@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] iptables: extensions: iptables-translate prints extra "nft" after printing any error
Date: Tue, 1 Mar 2016 18:59:02 +0100 [thread overview]
Message-ID: <20160301175902.GA32303@salvia> (raw)
In-Reply-To: <CAHSpA592Skw5FonNYgO_o19c9PQqUe_Foagr6_Nm2USG8rVnBg@mail.gmail.com>
On Fri, Feb 26, 2016 at 12:34:50AM +0530, Guruswamy Basavaiah wrote:
> 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
Manually applied, thanks.
Please note that your patches are being mangled by your MUA. This is
problematic since patchwork will not catch your patches:
http://patchwork.ozlabs.org/project/netfilter-devel/list/
Please, fix this, you'll save me time if you send me proper patches.
Thanks.
parent reply other threads:[~2016-03-01 17:59 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAHSpA592Skw5FonNYgO_o19c9PQqUe_Foagr6_Nm2USG8rVnBg@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160301175902.GA32303@salvia \
--to=pablo@netfilter.org \
--cc=guru2018@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).