summaryrefslogtreecommitdiffstats
path: root/src/expr/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/target.c')
-rw-r--r--src/expr/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/target.c b/src/expr/target.c
index ff0e56f..6a2b405 100644
--- a/src/expr/target.c
+++ b/src/expr/target.c
@@ -124,7 +124,7 @@ nft_rule_expr_target_build(struct nlmsghdr *nlh, struct nft_rule_expr *e)
if (e->flags & (1 << NFT_EXPR_TG_REV))
mnl_attr_put_u32(nlh, NFTA_TARGET_REV, htonl(tg->rev));
if (e->flags & (1 << NFT_EXPR_TG_INFO))
- mnl_attr_put(nlh, NFTA_TARGET_INFO, XT_ALIGN(tg->data_len), tg->data);
+ mnl_attr_put(nlh, NFTA_TARGET_INFO, tg->data_len, tg->data);
}
static int nft_rule_expr_target_parse(struct nft_rule_expr *e, struct nlattr *attr)