From 4d72911e17c8810f8e15a6778dae5a1fd24d9a3f Mon Sep 17 00:00:00 2001 From: Giuseppe Longo Date: Wed, 26 Feb 2014 14:57:31 +0100 Subject: [PATCH] This patch adds the fields into PacketVars struct to setup a packet from a nflog message --- src/decode.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/decode.h b/src/decode.h index c373711228..2ce5bbf387 100644 --- a/src/decode.h +++ b/src/decode.h @@ -56,6 +56,7 @@ enum PktSrcEnum { PKT_SRC_FFR_SHUTDOWN, }; +#include "source-nflog.h" #include "source-nfq.h" #include "source-ipfw.h" #include "source-pcap.h" @@ -395,6 +396,9 @@ typedef struct Packet_ union { /* nfq stuff */ +#ifdef HAVE_NFLOG + NFLOGPacketVars nflog_v; +#endif /* HAVE_NFLOG */ #ifdef NFQ NFQPacketVars nfq_v; #endif /* NFQ */