All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nft PATCH 2/3] rule: export the ruleset using the new node "add"
Date: Tue, 17 Mar 2015 11:43:58 +0100	[thread overview]
Message-ID: <20150317104358.GA4055@salvia> (raw)
In-Reply-To: <1426518371-11717-2-git-send-email-alvaroneay@gmail.com>

Please, fix this in the library.

On Mon, Mar 16, 2015 at 04:06:10PM +0100, Alvaro Neira Ayuso wrote:
> Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
> ---
>  src/rule.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/rule.c b/src/rule.c
> index 8d76fd0..b392ead 100644
> --- a/src/rule.c
> +++ b/src/rule.c
> @@ -754,7 +754,7 @@ static int do_command_export(struct netlink_ctx *ctx, struct cmd *cmd)
>  	if (rs == NULL)
>  		return -1;
>  
> -	nft_ruleset_fprintf(stdout, rs, cmd->export->format, 0);
> +	nft_ruleset_fprintf(stdout, rs, cmd->export->format, NFT_OF_EVENT_NEW);
>  	fprintf(stdout, "\n");
>  
>  	nft_ruleset_free(rs);
> -- 
> 1.7.10.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-03-17 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16 15:06 [libnftnl PATCH 1/3] parser: Add operation not supported error message Alvaro Neira Ayuso
2015-03-16 15:06 ` [nft PATCH 2/3] rule: export the ruleset using the new node "add" Alvaro Neira Ayuso
2015-03-17 10:43   ` Pablo Neira Ayuso [this message]
2015-03-16 15:06 ` [nft PATCH 3/3 v5] src: add import command Alvaro Neira Ayuso
2015-03-17 10:49 ` [libnftnl PATCH 1/3] parser: Add operation not supported error message Pablo Neira Ayuso

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=20150317104358.GA4055@salvia \
    --to=pablo@netfilter.org \
    --cc=alvaroneay@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.