summaryrefslogtreecommitdiffstats
path: root/src/expr/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/lookup.c')
-rw-r--r--src/expr/lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/lookup.c b/src/expr/lookup.c
index 56ab253..b9b0229 100644
--- a/src/expr/lookup.c
+++ b/src/expr/lookup.c
@@ -180,7 +180,8 @@ nft_rule_expr_lookup_xml_parse(struct nft_rule_expr *e, mxml_node_t *tree)
const char *set_name;
int32_t reg;
- set_name = nft_mxml_str_parse(tree, "set", MXML_DESCEND_FIRST);
+ set_name = nft_mxml_str_parse(tree, "set", MXML_DESCEND_FIRST,
+ NFT_XML_MAND);
if (set_name == NULL)
return -1;