mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-02 22:57:07 +08:00
15 lines
426 B
Diff
15 lines
426 B
Diff
--- a/src/nft_ext_fullcone.c
|
|
+++ b/src/nft_ext_fullcone.c
|
|
@@ -121,7 +121,11 @@ static int exp_event_cb(unsigned int eve
|
|
}
|
|
#endif
|
|
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
|
|
+static int nft_fullcone_validate(const struct nft_ctx *ctx, const struct nft_expr *expr)
|
|
+#else
|
|
static int nft_fullcone_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data)
|
|
+#endif
|
|
{
|
|
int err;
|
|
|