diff options
-rw-r--r-- | src/expr/immediate.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |