]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
source-nfq: fix display of next queue
authorEric Leblond <eric@regit.org>
Tue, 2 Sep 2014 13:33:34 +0000 (15:33 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 19 Sep 2014 08:30:06 +0000 (10:30 +0200)
Suricata was displaying an invalid queue number as the value is
shift at the moment of its assignement.

src/source-nfq.c

index 91834bb4d36145671b6f68f49a7b3d6e37605e0c..5014d343d7d7cc91272fa50c56e1b04a449603a8 100644 (file)
@@ -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;
         }
     }