nft-fullcone: fix build with linux-6.12
Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
parent
f422565913
commit
f91067a009
@ -121,7 +121,11 @@ static int exp_event_cb(unsigned int events, const struct nf_exp_event *item)
|
||||
}
|
||||
#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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user