nfqws: fix return value type

This commit is contained in:
bol-van 2024-12-07 22:05:26 +03:00
parent 9e9136cffd
commit abdc8d9449

View File

@ -152,7 +152,7 @@ static int nfq_cb(struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, struct nfq_da
DLOG("packet: id=%d pass unmodified\n", id); DLOG("packet: id=%d pass unmodified\n", id);
return nfq_set_verdict2(qh, id, NF_ACCEPT, mark, 0, NULL); return nfq_set_verdict2(qh, id, NF_ACCEPT, mark, 0, NULL);
} }
static bool nfq_deinit(struct nfq_handle **h,struct nfq_q_handle **qh) static void nfq_deinit(struct nfq_handle **h,struct nfq_q_handle **qh)
{ {
if (*qh) if (*qh)
{ {