]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
wirefuzz: removed unified2 file removal
authorJason Ish <jason.ish@oisf.net>
Wed, 6 Nov 2019 02:26:42 +0000 (20:26 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 25 Feb 2020 06:37:00 +0000 (07:37 +0100)
qa/wirefuzz.pl

index e68d80824df6e57cc22c0039b4b21d9e1a641ba0..f385150c05829b09414755ad763d890ff71d9cf6 100755 (executable)
@@ -318,7 +318,7 @@ sub printhelp {
         -x=<(optional) regex for excluding certian files incase something blows up but we want to continue fuzzing .>
         -z=<(optional) regex for excluding certian files from fuzzing but still process them note: the original files will be processed and not removed.>
         -y <shuffle the array, this is useful if running multiple instances of this script.>
-        -k <will keep alert-debug.log fast.log http.log and stats.log instead of removing them at the end of each run. Note unified logs are still removed>
+        -k <will keep alert-debug.log fast.log http.log and stats.log instead of removing them at the end of each run.>
         Example usage:
         First thing to do is download and build suricata from git with -O0 so vars don't get optimized out. See the example below:
         git clone git://phalanx.openinfosecfoundation.org/oisf.git suricatafuzz1 && cd suricatafuzz1 && ./autogen.sh && CFLAGS=\"-g -O0\" ./configure && make
@@ -641,7 +641,7 @@ sub clean_logs {
         #system("$rmcmd");
     }
 
-    foreach my $file (glob "$logdir/unified2.* $logdir/*.log $logdir/*.json") {
+    foreach my $file (glob "$logdir/*.log $logdir/*.json") {
         #print $file . "\n";
         if (unlink($file) <= 0) {
             print "clean_logs: failed to delete log file $file\n";