]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2336 in SNORT/snort3 from ~VKAMBALA/snort3:vkambala to master
authorBhargava Jandhyala (bjandhya) <bjandhya@cisco.com>
Mon, 20 Jul 2020 09:58:05 +0000 (09:58 +0000)
committerBhargava Jandhyala (bjandhya) <bjandhya@cisco.com>
Mon, 20 Jul 2020 09:58:05 +0000 (09:58 +0000)
Squashed commit of the following:

commit edbad44b43c4aadc44075ec8327357a5e97fd511
Author: krishnakanth <vkambala@cisco.com>
Date:   Fri Jul 17 01:17:13 2020 -0400

    file_api : Log event generated when lookup timedout

src/file_api/file_cache.cc

index fd581536534d716c69fa6a987205991000542ca8..6bfe5569faa6fd60d98b9ea40025dcbf5e8c6d16 100644 (file)
@@ -299,6 +299,8 @@ bool FileCache::apply_verdict(Packet* p, FileContext* file_ctx, FileVerdict verd
 
             if (resume)
                 policy->log_file_action(flow, file_ctx, FILE_RESUME_BLOCK);
+            else
+                file_ctx->verdict = FILE_VERDICT_LOG;
 
             if (PacketTracer::is_active())
             {