From 96e38521910760343d5e2d7b917bd8d8345f1e1c Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 13 Jan 2011 21:37:10 +0100 Subject: [PATCH] source-nfq: add define of SOL_NETLINK Signed-off-by: Eric Leblond --- src/source-nfq.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/source-nfq.c b/src/source-nfq.c index 50fe1ec99a..04ecd0468b 100644 --- a/src/source-nfq.c +++ b/src/source-nfq.c @@ -95,6 +95,11 @@ TmEcode NoNFQSupportExit(ThreadVars *tv, void *initdata, void **data) extern int max_pending_packets; #define NFQ_BURST_FACTOR 4 + +#ifndef SOL_NETLINK +#define SOL_NETLINK 270 +#endif + //#define NFQ_DFT_QUEUE_LEN NFQ_BURST_FACTOR * MAX_PENDING //#define NFQ_NF_BUFSIZE 1500 * NFQ_DFT_QUEUE_LEN