All of lore.kernel.org
 help / color / mirror / Atom feed
* [libnftables PATCH] immediate: xml: fix name inconsistency
@ 2013-07-25 20:54 Arturo Borrero Gonzalez
  2013-07-25 20:58 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2013-07-25 20:54 UTC (permalink / raw)
  To: netfilter-devel

<immdata> must be <immediatedata>.

This bug was introduced at (1e8e5d4 src: xml: consolidate parsing of data_reg via nft_mxml_data_reg_parse).

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 src/expr/immediate.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/expr/immediate.c b/src/expr/immediate.c
index 48e9d1e..e65bd7c 100644
--- a/src/expr/immediate.c
+++ b/src/expr/immediate.c
@@ -192,7 +192,8 @@ nft_rule_expr_immediate_xml_parse(struct nft_rule_expr *e, mxml_node_t *tree)
 	imm->dreg = reg;
 	e->flags |= (1 << NFT_EXPR_IMM_DREG);
 
-	datareg_type = nft_mxml_data_reg_parse(tree, "immdata", &imm->data);
+	datareg_type = nft_mxml_data_reg_parse(tree, "immediatedata",
+					       &imm->data);
 	if (datareg_type < 0)
 		return -1;
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [libnftables PATCH] immediate: xml: fix name inconsistency
  2013-07-25 20:54 [libnftables PATCH] immediate: xml: fix name inconsistency Arturo Borrero Gonzalez
@ 2013-07-25 20:58 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-07-25 20:58 UTC (permalink / raw)
  To: Arturo Borrero Gonzalez; +Cc: netfilter-devel

On Thu, Jul 25, 2013 at 10:54:11PM +0200, Arturo Borrero Gonzalez wrote:
> <immdata> must be <immediatedata>.
> 
> This bug was introduced at (1e8e5d4 src: xml: consolidate parsing of
> data_reg via nft_mxml_data_reg_parse).

Also applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-25 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 20:54 [libnftables PATCH] immediate: xml: fix name inconsistency Arturo Borrero Gonzalez
2013-07-25 20:58 ` Pablo Neira Ayuso

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.