From e0307b09935f8d99c653568e830ac42ec71ad420 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 2 Sep 2014 15:33:34 +0200 Subject: [PATCH] source-nfq: fix display of next queue Suricata was displaying an invalid queue number as the value is shift at the moment of its assignement. --- src/source-nfq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source-nfq.c b/src/source-nfq.c index 91834bb4d3..5014d343d7 100644 --- a/src/source-nfq.c +++ b/src/source-nfq.c @@ -289,7 +289,7 @@ void NFQInitConfig(char quiet) break; case NFQ_ROUTE_MODE: SCLogInfo("NFQ running in route mode with next queue %"PRIu32, - nfq_config.next_queue); + nfq_config.next_queue >> 16); break; } }