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 e755dfa..ae434df 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