struct nfq_handle has a struct mnl_socket * now, use that. Signed-off-by: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx> --- v3: rebased v2: rebase to account for updated patches src/libnetfilter_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c index f26b65f..8a11f41 100644 --- a/src/libnetfilter_queue.c +++ b/src/libnetfilter_queue.c @@ -377,7 +377,7 @@ struct nfnl_handle *nfq_nfnlh(struct nfq_handle *h) EXPORT_SYMBOL int nfq_fd(struct nfq_handle *h) { - return nfnl_fd(nfq_nfnlh(h)); + return mnl_socket_get_fd(h->nl); } /** * @} -- 2.35.8