From: Eric Leblond Date: Tue, 2 Sep 2014 13:33:34 +0000 (+0200) Subject: source-nfq: fix display of next queue X-Git-Tag: suricata-2.1beta2~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0307b09935f8d99c653568e830ac42ec71ad420;p=thirdparty%2Fsuricata.git 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. --- 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; } }