]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
This patch adds the fields into PacketVars struct to setup a packet from a nflog...
authorGiuseppe Longo <giuseppelng@gmail.com>
Wed, 26 Feb 2014 13:57:31 +0000 (14:57 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 23 May 2014 10:42:52 +0000 (12:42 +0200)
src/decode.h

index c3737112286b851e9a337adf8fe3b11b2166a7ad..2ce5bbf387caf3ac7518fcf45c36d047b1e4d0b9 100644 (file)
@@ -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 */