nft_ext_fullcone.c: fix nft_expr_ops::dump callback parameters
7d34aa3e03
This commit is contained in:
parent
95ad79bc6d
commit
5a21ca29b7
@ -179,7 +179,11 @@ static int nft_fullcone_init(const struct nft_ctx *ctx, const struct nft_expr *e
|
||||
return err;
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 2, 0)
|
||||
static int nft_fullcone_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset)
|
||||
#else
|
||||
static int nft_fullcone_dump(struct sk_buff *skb, const struct nft_expr *expr)
|
||||
#endif
|
||||
{
|
||||
const struct nft_fullcone *priv = nft_expr_priv(expr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user