summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.c')
-rw-r--r--src/rule.c1
1 files changed, 1 insertions, 0 deletions
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) {