diff options
Diffstat (limited to 'src/expr/masq.c')
-rw-r--r-- | src/expr/masq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/masq.c b/src/expr/masq.c index e6e528d..a103cc3 100644 --- a/src/expr/masq.c +++ b/src/expr/masq.c @@ -158,7 +158,7 @@ static int nftnl_expr_masq_snprintf(char *buf, size_t remain, struct expr_ops expr_ops_masq = { .name = "masq", .alloc_len = sizeof(struct nftnl_expr_masq), - .max_attr = NFTA_MASQ_MAX, + .nftnl_max_attr = __NFTNL_EXPR_MASQ_MAX - 1, .set = nftnl_expr_masq_set, .get = nftnl_expr_masq_get, .parse = nftnl_expr_masq_parse, |