From: Eric Leblond <eric@regit.org>
To: netfilter-devel@vger.kernel.org
Cc: Eric Leblond <eric@regit.org>
Subject: [libnftables PATCH 3/3] expr: fix display of dreg expression
Date: Tue, 4 Jun 2013 10:05:23 +0200 [thread overview]
Message-ID: <1370333124-11674-4-git-send-email-eric@regit.org> (raw)
In-Reply-To: <1370333124-11674-1-git-send-email-eric@regit.org>
Signed-off-by: Eric Leblond <eric@regit.org>
---
src/expr/immediate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/expr/immediate.c b/src/expr/immediate.c
index 7cfb4bf..295054d 100644
--- a/src/expr/immediate.c
+++ b/src/expr/immediate.c
@@ -335,7 +335,7 @@ nft_rule_expr_immediate_snprintf_default(char *buf, size_t len,
int size = len, offset = 0, ret;
struct nft_expr_immediate *imm = (struct nft_expr_immediate *)e->data;
- ret = snprintf(buf, len, "dreg=%u", imm->dreg);
+ ret = snprintf(buf, len, "dreg=%u ", imm->dreg);
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
if (e->flags & (1 << NFT_EXPR_IMM_DATA)) {
--
1.7.10.4
next prev parent reply other threads:[~2013-06-04 8:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 8:05 [libnftables PATCH 0/3] small fixes Eric Leblond
2013-06-04 8:05 ` [libnftables PATCH 1/3] examples: delete payload code in nft-chain-add Eric Leblond
2013-06-05 3:52 ` Pablo Neira Ayuso
2013-06-04 8:05 ` [libnftables PATCH 2/3] nft-events: add newline to output Eric Leblond
2013-06-05 3:52 ` Pablo Neira Ayuso
2013-06-04 8:05 ` Eric Leblond [this message]
2013-06-05 3:53 ` [libnftables PATCH 3/3] expr: fix display of dreg expression Pablo Neira Ayuso
2013-06-04 8:16 ` [libnftables PATCH 0/3] small fixes Arturo Borrero Gonzalez
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=1370333124-11674-4-git-send-email-eric@regit.org \
--to=eric@regit.org \
--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).