Tools: Make sure we reset our fuzz ranges.

[skip ci]
This commit is contained in:
Gerald Combs 2022-09-27 09:56:49 -07:00
parent 12334494ba
commit 7b53fd127e
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,8 @@ while { [ $PASS -lt "$MAX_PASSES" ] || [ "$MAX_PASSES" -lt 1 ]; } && ! $DONE ; d
fi
# Choose a random subset of large captures.
KEEP=
PACKET_RANGE=
CF_PACKETS=$( "$CAPINFOS" -T -r -c "$CF" | cut -f2 )
if [[ CF_PACKETS -gt $MAX_FUZZ_PACKETS ]] ; then
START_PACKET=$(( CF_PACKETS - MAX_FUZZ_PACKETS ))