summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2021-07-07 11:17:30 +1000
committerPablo Neira Ayuso <pablo@netfilter.org>2021-07-07 18:30:38 +0200
commite9215027a0772225205d9e5679650450a039b08b (patch)
tree2f4b72ed5bfe1b4a3ffc8805c56adcdc2ce6bdac
parent710f891c8a6116f520948f5cf448489947fb7d78 (diff)
src: Correctly identify item for which header is needed
Clarify that NFQA_CT requires the CTA_* attribute definitions in nfnetlink_conntrack.h Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--examples/nf-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nf-queue.c b/examples/nf-queue.c
index 3da2c24..5b86e69 100644
--- a/examples/nf-queue.c
+++ b/examples/nf-queue.c
@@ -15,7 +15,7 @@
#include <libnetfilter_queue/libnetfilter_queue.h>
-/* only for NFQA_CT, not needed otherwise: */
+/* NFQA_CT requires CTA_* attributes defined in nfnetlink_conntrack.h */
#include <linux/netfilter/nfnetlink_conntrack.h>
static struct mnl_socket *nl;