libnftnl: fix api change in 1.2.3

Upstream commit 84d12cfacf8ddd ("build: fix clang+glibc snprintf
substitution error") has renamed the member name from 'snprintf'
to 'output'.

Fixes: ce28f303e8 ("libnftnl: update to 1.2.3")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-08-31 12:52:42 +08:00
parent 166f4bd65d
commit bcf369fc95
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -240,7 +240,7 @@ index 0000000..aaedd83
+ .get = nftnl_expr_fullcone_get,
+ .parse = nftnl_expr_fullcone_parse,
+ .build = nftnl_expr_fullcone_build,
+ .snprintf = nftnl_expr_fullcone_snprintf,
+ .output = nftnl_expr_fullcone_snprintf,
+};
diff --git a/src/expr_ops.c b/src/expr_ops.c
index 7248e4f..9dee9f8 100644