* [libnftables PATCH] rule: fix table flag not being set at XML parsing
@ 2013-05-28 15:06 Arturo Borrero
2013-05-29 12:11 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero @ 2013-05-28 15:06 UTC (permalink / raw)
To: netfilter-devel; +Cc: pablo
This bug was introduced by me at commit:
'src: add support for XML parsing'
51370f0eedb1c8167ab2c340d2a53f0d9f02509c
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
src/rule.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/rule.c b/src/rule.c
index 318ae07..4d56d5a 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -479,6 +479,7 @@ static int nft_rule_xml_parse(struct nft_rule *r, char *xml)
free(r->table);
r->table = strdup(mxmlElementGetAttr(tree, "table"));
+ r->flags |= (1 << NFT_RULE_ATTR_TABLE);
/* get and set <rule ... chain=X ...> */
if (mxmlElementGetAttr(tree, "chain") == NULL) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [libnftables PATCH] rule: fix table flag not being set at XML parsing
2013-05-28 15:06 [libnftables PATCH] rule: fix table flag not being set at XML parsing Arturo Borrero
@ 2013-05-29 12:11 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-05-29 12:11 UTC (permalink / raw)
To: Arturo Borrero; +Cc: netfilter-devel
On Tue, May 28, 2013 at 05:06:08PM +0200, Arturo Borrero wrote:
> This bug was introduced by me at commit:
>
> 'src: add support for XML parsing'
> 51370f0eedb1c8167ab2c340d2a53f0d9f02509c
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-29 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 15:06 [libnftables PATCH] rule: fix table flag not being set at XML parsing Arturo Borrero
2013-05-29 12:11 ` Pablo Neira Ayuso
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).