diff options
Diffstat (limited to 'src/obj/tunnel.c')
-rw-r--r-- | src/obj/tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obj/tunnel.c b/src/obj/tunnel.c index d2503dc..19a3639 100644 --- a/src/obj/tunnel.c +++ b/src/obj/tunnel.c @@ -542,7 +542,7 @@ struct obj_ops obj_ops_tunnel = { .name = "tunnel", .type = NFT_OBJECT_TUNNEL, .alloc_len = sizeof(struct nftnl_obj_tunnel), - .max_attr = NFTA_TUNNEL_KEY_MAX, + .nftnl_max_attr = __NFTNL_OBJ_TUNNEL_MAX - 1, .set = nftnl_obj_tunnel_set, .get = nftnl_obj_tunnel_get, .parse = nftnl_obj_tunnel_parse, |