libnftnl: fixup fullcone patch

Fixes: 8e8882a2311f ("Merge Official Source")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2024-11-11 23:03:29 +08:00
parent d9458710a2
commit 4cdd1104c5
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -225,7 +225,7 @@ Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
+struct expr_ops expr_ops_fullcone = {
+ .name = "fullcone",
+ .alloc_len = sizeof(struct nftnl_expr_fullcone),
+ .nftnl_max_attr = __NFTNL_EXPR_FULLCONE_MAX,
+ .nftnl_max_attr = __NFTNL_EXPR_FULLCONE_MAX - 1,
+ .set = nftnl_expr_fullcone_set,
+ .get = nftnl_expr_fullcone_get,
+ .parse = nftnl_expr_fullcone_parse,