]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
suricata: Fix amount of listened nfqueues
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 13 Mar 2019 11:14:30 +0000 (12:14 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 13 Mar 2019 11:14:30 +0000 (12:14 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/initscripts/system/suricata

index e755dfaff22bb54c6ff11adac354ef1d9c7ca2c9..ae434df65c994cc853c880a35e5b161893de294c 100644 (file)
@@ -107,7 +107,7 @@ case "$1" in
                # Numer of NFQUES.
                NFQUEUES=
 
-               for i in $(seq 0 $cpu_count); do
+               for i in $(seq 0 $((cpu_count-1)) ); do
                        NFQUEUES+="-q $i "
                done