summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/expr/payload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/payload.c b/src/expr/payload.c
index b4fd9c5..d4f9ef9 100644
--- a/src/expr/payload.c
+++ b/src/expr/payload.c
@@ -159,7 +159,7 @@ nftnl_expr_payload_parse(struct nftnl_expr *e, struct nlattr *attr)
if (tb[NFTA_PAYLOAD_SREG]) {
payload->sreg = ntohl(mnl_attr_get_u32(tb[NFTA_PAYLOAD_SREG]));
- e->flags |= (1 << NFT_EXPR_PAYLOAD_SREG);
+ e->flags |= (1 << NFTNL_EXPR_PAYLOAD_SREG);
}
if (tb[NFTA_PAYLOAD_DREG]) {
payload->dreg = ntohl(mnl_attr_get_u32(tb[NFTA_PAYLOAD_DREG]));