From c5bcd787a6a5e4c73d125ed5585bdc145e2a1958 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Tue, 31 Dec 2019 22:03:07 +1100 Subject: src: Always use pktb as formal arg of type struct pkt_buff All remaining instances of pkt refer to something other than a pkt_buff. In the prototype for nfq_nlmsg_parse, pkt is changed to attr. Inconsistent whitespace in headers has been left for another day. Signed-off-by: Duncan Roe Signed-off-by: Florian Westphal --- include/libnetfilter_queue/libnetfilter_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libnetfilter_queue/libnetfilter_queue.h') diff --git a/include/libnetfilter_queue/libnetfilter_queue.h b/include/libnetfilter_queue/libnetfilter_queue.h index 2e38411..092c57d 100644 --- a/include/libnetfilter_queue/libnetfilter_queue.h +++ b/include/libnetfilter_queue/libnetfilter_queue.h @@ -148,7 +148,7 @@ void nfq_nlmsg_verdict_put(struct nlmsghdr *nlh, int id, int verdict); void nfq_nlmsg_verdict_put_mark(struct nlmsghdr *nlh, uint32_t mark); void nfq_nlmsg_verdict_put_pkt(struct nlmsghdr *nlh, const void *pkt, uint32_t pktlen); -int nfq_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr **pkt); +int nfq_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr **attr); #ifdef __cplusplus } /* extern "C" */ -- cgit v1.2.3