]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1160 in SNORT/snort3 from active_response to master
authorHui Cao (huica) <huica@cisco.com>
Fri, 23 Mar 2018 21:16:23 +0000 (17:16 -0400)
committerHui Cao (huica) <huica@cisco.com>
Fri, 23 Mar 2018 21:16:23 +0000 (17:16 -0400)
Squashed commit of the following:

commit 5b5c6a1211f482e2b2db490e1a88e937be1a9240
Author: huica <huica@cisco.com>
Date:   Fri Mar 23 16:38:06 2018 -0400

    Disable the check for max_response

src/packet_io/active.cc

index 233a0a9638f3f0d329403662847775678ed30055..c87e2429be143cfe62bbfa05dd9fc03271e68a07 100644 (file)
@@ -468,7 +468,7 @@ void Active::reset_session(Packet* p, bool force)
     if ( force or SnortConfig::inline_mode() or SnortConfig::treat_drop_as_ignore() )
         Stream::drop_flow(p);
 
-    if ( s_enabled and SnortConfig::get_conf()->max_responses )
+    if ( s_enabled )
     {
         ActionManager::queue_reject(p);