From: Alvaro Neira Ayuso <alvaroneay@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [nft PATCH 2/3] rule: export the ruleset using the new node "add"
Date: Mon, 16 Mar 2015 16:06:10 +0100 [thread overview]
Message-ID: <1426518371-11717-2-git-send-email-alvaroneay@gmail.com> (raw)
In-Reply-To: <1426518371-11717-1-git-send-email-alvaroneay@gmail.com>
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
next prev parent reply other threads:[~2015-03-16 15:05 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 ` Alvaro Neira Ayuso [this message]
2015-03-17 10:43 ` [nft PATCH 2/3] rule: export the ruleset using the new node "add" Pablo Neira Ayuso
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=1426518371-11717-2-git-send-email-alvaroneay@gmail.com \
--to=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 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).